Re: psql --csv and other parameters

2018-11-28 Thread Michael Paquier
On Wed, Nov 28, 2018 at 02:38:04PM +0100, Daniel Verite wrote: > -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,

Re: psql --csv and other parameters

2018-11-28 Thread Daniel Verite
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,