print statements? - Mailing list pgsql-novice

From tlm
Subject print statements?
Date
Msg-id 4d6d2c130612190535k5b7d5ecay11e0efb597f7d0b5@mail.gmail.com
Whole thread Raw
Responses Re: print statements?
Re: print statements?
List pgsql-novice
[ 2nd try ]

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?

Thanks!

tlm

pgsql-novice by date:

Previous
From: Frank Bax
Date:
Subject: Re: core 2 duo
Next
From: "Brandon Aiken"
Date:
Subject: Re: print statements?