Skip site navigation (1) Skip section navigation (2)

print statements?

From: tlm <tlm1905(at)gmail(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: print statements?
Date: 2006-12-19 13:35:27
Message-ID: 4d6d2c130612190535k5b7d5ecay11e0efb597f7d0b5@mail.gmail.com (view raw or flat)
Thread:
Lists: 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

Responses

pgsql-novice by date

Next:From: Brandon AikenDate: 2006-12-19 16:27:03
Subject: Re: print statements?
Previous:From: Frank BaxDate: 2006-12-18 01:36:50
Subject: Re: core 2 duo

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group