Re: [SQL] bash & postgres

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [SQL] bash & postgres
Дата
Msg-id 1217.1237838113@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [SQL] bash & postgres  (Erik Jones <ejones@engineyard.com>)
Список pgsql-general
Erik Jones <ejones@engineyard.com> writes:
> On Mar 23, 2009, at 7:05 AM, Tom Lane wrote:
>> The reason you have to do this is that psql doesn't recognize
>> backslash commands in a -c string.  There's a school of thought that
>> doesn't want us to allow multiple commands in a -c string, even.

> Hmm... Apparently it does recognize them as long as the backslash is
> the first character in the command string:

Hmm, maybe I was just misremembering the details.  What's certainly
true is that psql doesn't run a -c string through the same extensive
parsing that data from stdin gets.

            regards, tom lane

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

Предыдущее
От: M L
Дата:
Сообщение: Re: The tuple structure of a not-yet-assigned record is indeterminate.
Следующее
От: Jacek Becla
Дата:
Сообщение: unexpected check constraint violation