mysql's last_insert_id

From: Michal Adamczakk <pokryfka(at)artland(dot)com(dot)pl>
To: pgsql-general(at)postgresql(dot)org
Subject: mysql's last_insert_id
Date: 2003-08-22 20:03:05
Message-ID: pan.2003.08.22.20.02.16.929382@artland.com.pl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

hi,

how to implement mysql's last_insert_id() ?

i know that seqences and oids are great.
the one thing i miss is that they are not session specific.

i mean selecting last_value from seqence can give me a value which was
inserted by a different user.

regards
Michal

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Josh Berkus 2003-08-22 20:05:10 Re: Single-file DBs WAS: Need concrete "Why Postgres
Previous Message Andrew Rawnsley 2003-08-22 19:48:45 Re: Single-file DBs WAS: Need concrete "Why Postgres