Re: Using oid as pkey

From: hubert depesz lubaczewski <depesz(at)depesz(dot)com>
To: "D(dot) Dante Lorenso" <dante(at)lorenso(dot)com>
Cc: Rainer Bauer <usenet(at)munnin(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Using oid as pkey
Date: 2007-08-21 13:08:07
Message-ID: 20070821130807.GA20319@depesz.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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)

In response to

Browse pgsql-general by date

  From Date Subject
Next Message JLoz 2007-08-21 14:17:17 problem Linking a TTable component to a pgsql view using BCB5
Previous Message Bill Thoen 2007-08-21 13:07:54 Re: do you have an easy example of postgis and mapserver?