pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: edp@enter.vg
To: pgsql-interfaces@postgresql.org
Subject: How to get id of newly inserted row with DBD?
Date: Fri, 20 Jul 2001 23:44:33 +0200
Message-ID: <3B58A641.2AD5D1BF@enter.vg> (raw)

How to get id of newly inserted row with DBD?
I am using DBD-PG 1.01, DBI 1.18, Perl  5.6.1, Apache 1.3.20 and
mod_perl 1.25.

I need to show the usere the record it creates, but how do I know witch
row (rowid, oid) I should show?


L. G. Erlandsen





Message-ID: <3B58A641.2AD5D1BF@enter.vg>
Permalink:  ../3B58A641.2AD5D1BF@enter.vg/
Also on:    postgresql.org/message-id/3B58A641.2AD5D1BF@enter.vg

 · 

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: edp@enter.vg
  Subject: Re: How to get id of newly inserted row with DBD?
  In-Reply-To: <3B58A641.2AD5D1BF@enter.vg>

* 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