Re: get a pkey/id back from/after an insert

From: Richard Broersma Jr <rabroersma(at)yahoo(dot)com>
To: Bruno Wolff III <bruno(at)wolff(dot)to>
Cc: Corey <corey(at)bitworthy(dot)net>, pgsql-novice(at)postgresql(dot)org
Subject: Re: get a pkey/id back from/after an insert
Date: 2006-06-20 16:36:07
Message-ID: 20060620163607.93536.qmail@web31806.mail.mud.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

> It will do what is expected. currval returns the last value allocated in
> your session. It wouldn't be much use if other connections could change
> the value out from under you.

Bruno,

Thanks for the clarification.

Regards,

Richard Broersma Jr.

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Luis Silva 2006-06-20 16:41:33 replace
Previous Message Bruno Wolff III 2006-06-20 16:34:03 Re: get a pkey/id back from/after an insert