pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oleg Grodzevich <illinar@mindon.net>
To: pgsql-odbc@postgresql.org
Subject: SQL: last OID returning
Date: Fri, 17 Jan 2003 17:42:00 -0500
Message-ID: <24752471250.20030117174200@mindon.net> (raw)

Hello,

I  have  looked everywhere on the net trying to get the idea how to obtain the
message returned when one executes some SQL operation (e.g INSERT <oid> 1), or
alternatively  just  get  last OID. I have found others people asking the same
question,  however  no  answer  was  given.  I  have tried executing functions
SQLGetDiagRec/SQLGetDiagField  along  with  the  latest  version of PGSQL ODBC
driver  (ODBC  3.0), but without any success. I also can't figure it out after
quick look through the driver's source code.

Is  there  some  method  to  get  this info using ODBC? And if so, what is the
minimal ODBC version that supports it?

-- 
Best regards,   | homepage: http://www.mindon.net/illinar
Oleg Grodzevich | e-mail:   illinar@mindon.net | ICQ: 37500662





Message-ID: <24752471250.20030117174200@mindon.net>
Permalink:  ../24752471250.20030117174200@mindon.net/
Also on:    postgresql.org/message-id/24752471250.20030117174200@mindon.net

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: illinar@mindon.net
  Subject: Re: SQL: last OID returning
  In-Reply-To: <24752471250.20030117174200@mindon.net>
  References: <24752471250.20030117174200@mindon.net>

* 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