Hello Pavel,

        psql --csv 'TABLE Stuff;' > stuff.csv

There is commad -c and it should be used. The --csv options should not to
have a parameter. I don't like a idea to have more options for query

Yes, I agree and that is indeed what I meant, sorry for the typo. The cleaner example would be something like:

  psql --csv -c 'TABLE foo' > foo.csv

With a -c to introduce the command.


Reply via email to