X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id BFC74D1C90E for ; Thu, 31 Jul 2003 00:48:44 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 04245-03 for ; Wed, 30 Jul 2003 21:47:45 -0300 (ADT) Received: from candle.pha.pa.us (momjian.navpoint.com [207.106.42.251]) by svr1.postgresql.org (Postfix) with ESMTP id 47D0BD1C4D0 for ; Wed, 30 Jul 2003 21:48:42 -0300 (ADT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id h6V0mdv03701; Wed, 30 Jul 2003 20:48:39 -0400 (EDT) From: Bruce Momjian Message-Id: <200307310048.h6V0mdv03701@candle.pha.pa.us> Subject: Re: Script to recreate indexes? In-Reply-To: <3F263E0A.8010903@ecologic.de> To: Dani Oderbolz Date: Wed, 30 Jul 2003 20:48:39 -0400 (EDT) Cc: "'pgsql-admin@postgresql.org'" X-Mailer: ELM [version 2.4ME+ PL99 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200307/350 X-Sequence-Number: 9690 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@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073