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: (view raw or whole 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?




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-2015 The PostgreSQL Global Development Group