Frank Bax <fbax(at)sympatico(dot)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
In response to
pgsql-novice by date
|Next:||From: uldis||Date: 2006-12-21 11:06:51|
|Subject: update order|
|Previous:||From: Bruno Wolff III||Date: 2006-12-21 05:45:56|
|Subject: Re: Getting a count from an update|