Re: Explicit psqlrc

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Explicit psqlrc
Дата
Msg-id AANLkTilxKOWzU-OWJzDKW8SZswvbBa-xO7ABqFJ9eDV4@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Explicit psqlrc  (Stephen Frost <sfrost@snowman.net>)
Ответы Re: Explicit psqlrc  (gabrielle <gorthx@gmail.com>)
Список pgsql-hackers
On Mon, Jun 21, 2010 at 9:13 PM, Stephen Frost <sfrost@snowman.net> wrote:
> * Robert Haas (robertmhaas@gmail.com) wrote:
>> So none of the above sounds like desired behavior to me...  is that just me?
>
> Yeah, I'm not really thrilled with this..  I mentioned earlier what I
> thought would be a useful feature (basically, a switch which would
> ignore the main psqlrc and turn on the various options that make sense
> for a script), but that seems to have fallen to the wayside..

Well, that might be a good idea, too, but my expectation is that:

psql -f one -f two -f three

ought to behave in a manner fairly similar to:

cat one two three > all
psql -f all

and it sounds like with this patch that's far from being the case.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise Postgres Company


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

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: Explicit psqlrc
Следующее
От: Robert Haas
Дата:
Сообщение: missing "else" in postmaster.c?