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

Re: print statements?

From: Frank Bax <fbax(at)sympatico(dot)ca>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: print statements?
Date: 2006-12-19 21:27:03
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-novice
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?';


pgsql-novice by date

Next:From: Richard Broersma JrDate: 2006-12-19 21:56:44
Subject: Re: CREATE ROLE
Previous:From: Russell DenneyDate: 2006-12-19 20:41:16

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