Erik Rijkers wrote: > I don't know if this really is a bug but it seems wrong to me: > > psql -A --csv -Xc "select * from pg_namespace order by 1" > > gives a difference result than > > psql --csv -A -Xc "select * from pg_namespace order by 1"
-A and --csv each select an output format, and since there can be only one output format active, they are mutually exclusive. When options conflict, the rightmost on the command line wins, so -A --cvs is the same as --csv, and --csv -A is the same as -A Best regards, -- Daniel Vérité PostgreSQL-powered mailer: http://www.manitou-mail.org Twitter: @DanielVerite