Re: [NOVICE] Last ID Problem - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [NOVICE] Last ID Problem
Date
Msg-id 29713.1107363922@sss.pgh.pa.us
Whole thread Raw
In response to Re: [NOVICE] Last ID Problem  (Greg Stark <gsstark@mit.edu>)
Responses Re: [NOVICE] Last ID Problem
Re: [NOVICE] Last ID Problem
List pgsql-hackers
Greg Stark <gsstark@mit.edu> writes:
> Tom Lane <tgl@sss.pgh.pa.us> writes:
>> How is what you're suggesting more portable?

> Well, the driver would be free to implement $sth->last_insert_id() using
> whatever proprietary extensions it has available. The non-portableness would
> at least be hidden in the driver layer.

Are you asserting that last_insert_id() is a portable function?  I doubt
it.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: 7.3.8 under FC3 takes excessive semaphores?
Next
From: "Dann Corbit"
Date:
Subject: Enhancement suggestion