Re: mysql's last_insert_id

From: Bo Lorentsen <bl(at)netgroup(dot)dk>
To: Dennis Björklund <db(at)zigo(dot)dhs(dot)org>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: mysql's last_insert_id
Date: 2003-08-29 07:27:09
Message-ID: 1062142029.25826.24.camel@localhost
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alex 2003-08-29 07:43:29 Re: Fast Table Replication / Mirroring
Previous Message Martijn van Oosterhout 2003-08-29 07:25:19 Re: mysql's last_insert_id