pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: jose' soares <sferac@bo.nettuno.it>
To: Michael Olivier <molivier@yahoo.com>
Cc: pgsql-sql@postgreSQL.org <pgsql-sql@postgresql.org>
Subject: Re: [SQL] SQL-Query 2 get primary key
Date: Mon, 22 Feb 1999 14:23:33 +0100
Message-ID: <36D15A55.634FFC5A@bo.nettuno.it> (raw)
References: <19990220051943.20371.rocketmail@send1e.yahoomail.com>



Michael Olivier ha scritto:

> This doesn't work for me in 6.3.2-10 on RH Linux. Is this a newer
> feature?
>
> ---jose' soares <sferac@bo.nettuno.it> wrote:
> >
> > You may query pg_indexes as in:
> >
> > select * from pg_indexes where tablename = 'test';
> >
> > tablename|indexname|indexdef
> >
> ---------+---------+-----------------------------------------------------------------------
> >
> > test     |test_pkey|CREATE UNIQUE INDEX "test_pkey" ON "test" USING
> btree
> > ("id" "int4_ops")
> > (1 row)
>

This is my version:

hygea=> select version();
version
-------------------------------------------------------------
PostgreSQL 6.4.0 on i586-pc-linux-gnu, compiled by gcc 2.7.2.
(1 row)

--
                               - Jose' -





view thread (10+ messages)

Message-ID: <36D15A55.634FFC5A@bo.nettuno.it>
Permalink:  ../36D15A55.634FFC5A@bo.nettuno.it/
Also on:    postgresql.org/message-id/36D15A55.634FFC5A@bo.nettuno.it

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: sferac@bo.nettuno.it, molivier@yahoo.com
  Subject: Re: [SQL] SQL-Query 2 get primary key
  In-Reply-To: <36D15A55.634FFC5A@bo.nettuno.it>
  References: <19990220051943.20371.rocketmail@send1e.yahoomail.com> <36D15A55.634FFC5A@bo.nettuno.it>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox