pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: jr@i-bucks.com
To: pgsql-interfaces@postgresql.org
Subject: return codes
Date: Mon, 05 Mar 2001 11:02:41 -0800
Message-ID: <3.0.6.32.20010305110241.007f2e50@mail.i-bucks.com> (raw)


How does one check return codes with an embedded sql program?  (I dont seem
to find any info on this, in any of the documentation that I have seen).
In other databases, I have checked the values of sqlca.sqlcode or similar
fields.  While I see that this field exists, I dont know if postgres is
similar in this request, and I dont know if there is a better source of
examples of using postgres than the docs and Bruce's book.

thanks,

jr




view thread (2+ messages)  latest in thread

Message-ID: <3.0.6.32.20010305110241.007f2e50@mail.i-bucks.com>
Permalink:  ../3.0.6.32.20010305110241.007f2e50@mail.i-bucks.com/
Also on:    postgresql.org/message-id/3.0.6.32.20010305110241.007f2e50@mail.i-bucks.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: jr@i-bucks.com
  Subject: Re: return codes
  In-Reply-To: <3.0.6.32.20010305110241.007f2e50@mail.i-bucks.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox