Re: index info v7.4

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Martin Hampl <Martin(dot)Hampl(at)gmx(dot)de>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: index info v7.4
Date: 2003-11-20 03:51:49
Message-ID: 200311200351.hAK3pn413077@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Martin Hampl wrote:
> Hi,
>
> Is there a way to get information about the indexes I have defined on a
> database?

Uh, SELECT * FROM pg_index, and join that to pg_class. You can do \di
too from psql.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message wim 2003-11-20 06:55:23 Re: Server for Home Use
Previous Message John Tankersley 2003-11-20 03:25:13 Server for Home Use