Re: view table pkey values

From: Raymond O'Donnell <rod(at)iol(dot)ie>
To: Scott Frankel <leknarf(at)pacbell(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: view table pkey values
Date: 2009-08-24 16:43:30
Message-ID: 4A92C332.5000205@iol.ie
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 24/08/2009 17:31, Scott Frankel wrote:
> Is it possible to select or otherwise view a table's primary key values?

[snip]

> CREATE TABLE foo (
> foo_id SERIAL PRIMARY KEY,

select foo_id from foo;

?

....or am I missing something?

Ray.

------------------------------------------------------------------
Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland
rod(at)iol(dot)ie
Galway Cathedral Recitals: http://www.galwaycathedral.org/recitals
------------------------------------------------------------------

In response to

Browse pgsql-general by date

  From Date Subject
Next Message james bardin 2009-08-24 16:45:44 warm standby and reciprocating failover
Previous Message Scott Frankel 2009-08-24 16:31:00 view table pkey values