Re: print statements?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: print statements?
Дата
Msg-id 14355.1166681898@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: print statements?  (Frank Bax <fbax@sympatico.ca>)
Список pgsql-novice
Frank Bax <fbax@sympatico.ca> writes:
> At 08:35 AM 12/19/06, tlm wrote:
>> Hi.  I have an automated script that essentially feeds a long sequence
>> of  SQL statements to psql, as a single transaction.  For debugging
>> purposes, I would like to insert the equivalent of print statements (to
>> write messages to stdout, stderr, or maybe some pre-specified log file) at
>> various points in this sequence.  How is this done?

>   select 'half way already?';

Also, there's a \echo command in psql that might help.

            regards, tom lane

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

Предыдущее
От: Bruno Wolff III
Дата:
Сообщение: Re: Getting a count from an update
Следующее
От: uldis
Дата:
Сообщение: update order