Re: Getting Primary Key Value After Insert

From: Douglas McNaught <doug(at)mcnaught(dot)org>
To: Richard Broersma Jr <rabroersma(at)yahoo(dot)com>
Cc: Greg Stark <gsstark(at)mit(dot)edu>, Adam <adam(at)spatialsystems(dot)org>, Postgres general mailing list <pgsql-general(at)postgresql(dot)org>
Subject: Re: Getting Primary Key Value After Insert
Date: 2006-07-09 12:34:37
Message-ID: 87zmfjrm76.fsf@suzuka.mcnaught.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Richard Broersma Jr <rabroersma(at)yahoo(dot)com> writes:

> Just to clarify, currval() is isolated by the session on not
> necessarily by a transaction?

Yes, this is spelled out quite clearly in the docs if you care to read
them. :)

-Doug

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Martijn van Oosterhout 2006-07-09 12:40:40 Re: Getting Primary Key Value After Insert
Previous Message Douglas McNaught 2006-07-09 12:33:35 Re: Version Discrepancy