"Dave Page" <[EMAIL PROTECTED]> writes:
>> I understand the difficulties, but ISTM that getting 
>> "psql -f scriptfile" 
>> working could be a Good Thing (tm). 

> If you have any suggestions on how we can trap errors I'm all ears

I believe you can look at psql's exit status.  (You may need to do
something to ensure it exits on first error, too.)

However the existing solution is probably good enough for now.

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
      subscribe-nomail command to [EMAIL PROTECTED] so that your
      message can get through to the mailing list cleanly

Reply via email to