pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John Brothers <johnbr@undefined.com>
To: pgsql-sql@postgresql.org
Subject: getting oid of an INSERT automatically
Date: Wed, 7 Aug 2002 14:39:40 -0400
Message-ID: <00fe01c23e41$ca62bca0$0c05050a@johnbr> (raw)

Hello all,

   In pgplsql, is there any way to get the oid that is returned from an INSERT statement, without
doing a 'follow-up' SELECT for the oid?

   failing that, is this possible in jdbc, odbc or DBI?

Thanks,
    jb

view thread (3+ messages)  latest in thread

Message-ID: <00fe01c23e41$ca62bca0$0c05050a@johnbr>
Permalink:  ../00fe01c23e41$ca62bca0$0c05050a@johnbr/
Also on:    postgresql.org/message-id/00fe01c23e41$ca62bca0$0c05050a@johnbr

 · 

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-sql@postgresql.org
  Cc: johnbr@undefined.com
  Subject: Re: getting oid of an INSERT automatically
  In-Reply-To: <00fe01c23e41$ca62bca0$0c05050a@johnbr>

* 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