Re: proposal: multiple psql option -c - Mailing list pgsql-hackers

From Tom Lane
Subject Re: proposal: multiple psql option -c
Date
Msg-id 30899.1447877836@sss.pgh.pa.us
Whole thread Raw
In response to Re: proposal: multiple psql option -c  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: proposal: multiple psql option -c  (Robert Haas <robertmhaas@gmail.com>)
Re: proposal: multiple psql option -c  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-hackers
Pavel Stehule <pavel.stehule@gmail.com> writes:
>> 1. -c no longer implies --no-psqlrc.  That's a backwards incompatibility,
>> but very easy to explain and very easy to work around.

> This can be very surprising change. Can we disable it temporary by some
> environment variable? like NOPSQLRC ?

Why would that be better than "add -X to the psql call"?

I think generally the idea here is to have fewer warts, not more.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Tomasz Rybak
Date:
Subject: Re: pglogical_output - a general purpose logical decoding output plugin
Next
From: Robert Haas
Date:
Subject: Re: proposal: multiple psql option -c