Re: psql scripting tutorials

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: psql scripting tutorials
Дата
Msg-id 48CA189A.1050006@gmx.net
обсуждение исходный текст
Ответ на Re: psql scripting tutorials  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-general
Alvaro Herrera wrote:
> Doesn't say about variable expansion ...  And it seems to be in a
> different realm, because the point is that the command is going to have
> a single destination (either \-processing or sending it to the server).
>
> Is psql being just lazy here and avoiding parsing the command?

The intent is to leave open an avenue to pass a command to the server
without any interference from psql at all.  I have never been very
comfortable with overloading -c for that purpose, and it certainly
confuses users from time to time.  But that's the idea anyway.

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