Re: proposal: multiple psql option -c

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: proposal: multiple psql option -c
Дата
Msg-id CAFj8pRBLjC3XqX2gDfJCTu64KTo5sR1+tCBK678zbW8nuiCCow@mail.gmail.com
обсуждение исходный текст
Ответ на Re: proposal: multiple psql option -c  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers


2015-11-18 21:17 GMT+01:00 Tom Lane <tgl@sss.pgh.pa.us>:
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.

I can set environment variable once and all scripts will running without psqlrc, without searching all scripts and editing. If we are breaking compatibility, then we can be little bit friendly to admins, users, ...

It isn't necessary, but it can decrease a possible impacts

Pavel
 

                        regards, tom lane

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: proposal: multiple psql option -c
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Minor comment improvement to create_foreignscan_plan