Received: from isgenesis.com (rrcs-sw-24-242-139-162.biz.rr.com [24.242.139.162]) by postgresql.org (Postfix) with ESMTP id 440BD47672D for ; Wed, 6 Mar 2002 11:02:05 -0500 (EST) Received: from isgenesis.com ([192.168.2.101]) by isgenesis.com (8.11.6/8.11.2) with ESMTP id g26G29V04170 for ; Wed, 6 Mar 2002 10:02:09 -0600 Message-ID: <3C863FC4.6070808@isgenesis.com> Date: Wed, 06 Mar 2002 10:11:48 -0600 From: Herb Blacker Organization: ReCare, Inc. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2) Gecko/20010726 Netscape6/6.1 X-Accept-Language: en-us MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: Checking Existence Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Archive-Number: 200203/66 X-Sequence-Number: 3601 Is there a shell script (or a call to a function) available to check the existence of an index before it is dropped? I'm reloading a set of tables, and I want to drop the index before the COPY, then recreate it. _________________________ Herb Blacker Database Administrator ReCare, Inc. herbblacker@isgenesis.com