What is the easiest way to save PL/pgSQL output from a PostgreSQL database to a CSV file? I'm using Pos