Re: GetLastInsertID ?

From: Martin Marques <martin(at)bugs(dot)unl(dot)edu(dot)ar>
To: pg(at)fastcrypt(dot)com, Mike Nolan <nolan(at)gw(dot)tssi(dot)com>
Cc: Dennis Bjorklund <db(at)zigo(dot)dhs(dot)org>, Stephane Pinel <spinel(at)noos(dot)fr>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: GetLastInsertID ?
Date: 2004-01-01 22:31:52
Message-ID: 200401011931.52592.martin@bugs.unl.edu.ar
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

El Jue 01 Ene 2004 18:51, Dave Cramer escribió:
> Yes, it will
>
> curval is the curval for *this* connection, not the current value for
> the sequence!

Be carefull, it's "currval()" and not "curval()" (see the 2 'r').

--
19:30:01 up 37 days, 1:46, 2 users, load average: 1.45, 0.94, 0.70
-----------------------------------------------------------------
Martín Marqués | select 'mmarques' || '@' || 'unl.edu.ar'
Centro de Telematica | DBA, Programador, Administrador
Universidad Nacional
del Litoral
-----------------------------------------------------------------

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Baldur Norddahl 2004-01-01 22:53:29 Re: why the need for is null?
Previous Message Marc G. Fournier 2004-01-01 22:30:33 Re: Mnogosearch (Was: Re: website doc search is ... )