Re: psql --csv and other parameters

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Daniel Verite <daniel(at)manitou-mail(dot)org>
Cc: Erik Rijkers <er(at)xs4all(dot)nl>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: psql --csv and other parameters
Date: 2018-11-29 02:27:00
Message-ID: 20181129022700.GI626@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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, and --csv -A is the same as -A

And that's what I would expect. A lot of folks like using aliases and
relying on the last option being defined as a winner instead of bumping
into an error if multiple overlapping options are defined.
--
Michael

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2018-11-29 02:57:02 Re: New function pg_stat_statements_reset_query() to reset statistics of a specific query
Previous Message Stephen Frost 2018-11-29 02:17:17 Re: pg_config wrongly marked as not parallel safe?