Re: mysql's last_insert_id - Mailing list pgsql-general

From Bo Lorentsen
Subject Re: mysql's last_insert_id
Date
Msg-id 1062142029.25826.24.camel@localhost
Whole thread Raw
In response to Re: mysql's last_insert_id  (Dennis Björklund <db@zigo.dhs.org>)
Responses Re: mysql's last_insert_id  (Dennis Björklund <db@zigo.dhs.org>)
List pgsql-general
On Fri, 2003-08-29 at 09:05, Dennis Björklund wrote:

> That is not a problem, it's perfectly safe. It's all described in
>
> http://www.postgresql.org/docs/7.3/static/functions-sequence.html
Ups, nice that ...

currval will generate an error if nextval is not called in current
session, insuring :-)

But, I still need to be aware of the datamodel.

/BL


pgsql-general by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: Re: mysql's last_insert_id
Next
From: Alex
Date:
Subject: Re: Fast Table Replication / Mirroring