This is part of The Pile, a partial archive of some open source mailing lists and newsgroups.
Subject: Re: DBI::Pg question
From: Edmund Mergl <E.Mergl@bawue.de>
Date: Sat, 24 Jun 2000 12:14:06 +0200
Jaymes Casey Carl wrote:
>
> I need to get the OID of the INSERTed field from DBI after it inserts it.
> (rather like how psql displays it after inserting an entry). I would be
> happy with just the raw response from the database if necessary, but I
> dunno how to get that either.
>
> Thanks for your time.
>
> Casey
>
from the module documentation:
pg_oid_status (integer, read-only)
PostgreSQL specific attribute. It returns the OID of
the last INSERT command.
===