Re: Script to recreate indexes?

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Dani Oderbolz <oderbolz(at)ecologic(dot)de>
Cc: "'pgsql-admin(at)postgresql(dot)org'" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Script to recreate indexes?
Date: 2003-07-31 00:48:39
Message-ID: 200307310048.h6V0mdv03701@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin


Have you looked in the src/contrib/reindex directory?

---------------------------------------------------------------------------

Dani Oderbolz wrote:
> Hi guys,
> I wnated to write a nice littel script to regenerate Indexes,
> but I am struggling with the Array type...
> (Can anydody tell me why the PostgreSQL Catalog does use
> this non-relational stuff??)
> Does anyone have a script either showing the Array stuff
> or (even better :-) the creation of Index definitions
> out of a given catalog?
>
> Thanks a lot!
>
> Regards, Dani
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 8: explain analyze is your friend
>

--
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

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2003-07-31 02:49:25 Re: parallel regression test failure
Previous Message pgboy 2003-07-30 19:57:36 Re: recovery from a bad transaction log