Re: proposal: multiple psql option -c

Поиск
Список
Период
Сортировка
От Jim Nasby
Тема Re: proposal: multiple psql option -c
Дата
Msg-id 55E0BF94.7080306@BlueTreble.com
обсуждение исходный текст
Ответ на Re: proposal: multiple psql option -c  (Pavel Stehule <pavel.stehule@gmail.com>)
Ответы Re: proposal: multiple psql option -c  ("David G. Johnston" <david.g.johnston@gmail.com>)
Re: proposal: multiple psql option -c  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-hackers
On 8/26/15 8:15 AM, Pavel Stehule wrote:
> +      and then exit. This is useful in shell scripts. Start-up files
> +      (<filename>psqlrc</filename> and <filename>~/.psqlrc</filename>) are
> +      ignored with this option.

Sorry if this was discussed and I missed it, but I think this is a bad 
idea. There's already an option to control this. More important, there's 
no option to force the rc files to be used, so if -g disables them you'd 
be stuck with that.

I agree that the rc files are a danger when scripting, but if we want to 
do something about that then it needs to be consistent for ALL 
non-interactive use.
-- 
Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
Experts in Analytics, Data Architecture and PostgreSQL
Data in Trouble? Get it in Treble! http://BlueTreble.com



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

Предыдущее
От: Jim Nasby
Дата:
Сообщение: Fwd: Core dump with nested CREATE TEMP TABLE
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: proposal: multiple psql option -c