From: Alan Chen Date: 2005-06-23T17:25:37+09:00 Subject: Re: PostgreSQL Inserted OID nexus wrote: > Does anyone know how to get the inserted OID following an insert > statement in PostgreSQL (using DBI and/or Postgres Lib)? I'm not having > any luck finding the answer. > > Thanks in advance! Are you using the ruby-postgres library? It looks like fairly minor work to add a method to call the PQoidvalue function in the C interface to retreive the oid value following the insert. - alan