From: | "jose' soares" <sferac(at)bo(dot)nettuno(dot)it> |
---|---|
To: | Michael Olivier <molivier(at)yahoo(dot)com> |
Cc: | "pgsql-sql(at)postgreSQL(dot)org" <pgsql-sql(at)postgresql(dot)org> |
Subject: | Re: [SQL] SQL-Query 2 get primary key |
Date: | 1999-02-22 13:23:33 |
Message-ID: | 36D15A55.634FFC5A@bo.nettuno.it |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
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(at)bo(dot)nettuno(dot)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' -
From | Date | Subject | |
---|---|---|---|
Next Message | pierre | 1999-02-22 14:46:44 | questions on features |
Previous Message | Frank Barknecht | 1999-02-22 11:37:32 | Re: [SQL] Insert a long text |