Re: Return the primary key of a newly inserted row?

From: Scott Ribe <scott_ribe(at)killerbytes(dot)com>
To: Alban Hertroys <alban(at)magproductions(dot)nl>, John Tregea <john(at)debraneys(dot)com>
Cc: Kenneth Downs <ken(at)secdat(dot)com>, Tim Allen <tim(at)proximity(dot)com(dot)au>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: Return the primary key of a newly inserted row?
Date: 2006-06-26 15:37:52
Message-ID: C0C55B70.4E0FA%scott_ribe@killerbytes.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> You won't have duplicates[1], it's a sequence. It's its purpose.
>
> Now I may have missed something, I didn't follow this thread.

Yes, what you quoted was more the intro. The actual question was how to find
out what ids were generated during a sequence of insertions.

--
Scott Ribe
scott_ribe(at)killerbytes(dot)com
http://www.killerbytes.com/
(303) 722-0567 voice

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2006-06-26 15:44:04 Re: initlocation on 8.0+
Previous Message Nitin Verma 2006-06-26 15:31:22 initlocation on 8.0+