Re: Using oid as pkey - Mailing list pgsql-general

From hubert depesz lubaczewski
Subject Re: Using oid as pkey
Date
Msg-id 20070821130807.GA20319@depesz.com
Whole thread Raw
In response to Re: Using oid as pkey  ("D. Dante Lorenso" <dante@lorenso.com>)
List pgsql-general
On Mon, Aug 20, 2007 at 07:00:32PM -0500, D. Dante Lorenso wrote:
> Exactly what I was looking for.  Looks like I need to make moves to get
> from 8.1 onto 8.2 ;-)

in any pg you should simply use select currval('sequence_name'); and be
happy with it.

depesz

--
quicksil1er: "postgres is excellent, but like any DB it requires a
highly paid DBA.  here's my CV!" :)
http://www.depesz.com/ - blog dla ciebie (i moje CV)

pgsql-general by date:

Previous
From: Bill Thoen
Date:
Subject: Re: do you have an easy example of postgis and mapserver?
Next
From: "Marcelo de Moraes Serpa"
Date:
Subject: Audit-trail engine inner-workings