Re: Absent output from psql

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Absent output from psql
Дата
Msg-id 9955.1267376840@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Absent output from psql  (John Gage <jsmgage@gmail.com>)
Список pgsql-general
John Gage <jsmgage@gmail.com> writes:
> 1) EFN=# \o aatest01.txt \i ./TestQuery01.txt
> 2) EFN=# \i ./TestQuery01.txt

> After I execute line 1), the results of the two queries contained in the
> TestQuery01.txt file can be found in aatest01.txt.  Good.  Excellent.
> However, line 2) results in no output to any place I can discover.

Doesn't it get appended to aatest01.txt?  My recollection is that \o's
effects persist till you reset it.  But it only affects query output,
not interactive commands like \p.

            regards, tom lane

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

Предыдущее
От: Nilesh Govindarajan
Дата:
Сообщение: Re: Absent output from psql
Следующее
От: rihad
Дата:
Сообщение: Re: Partial foreign keys