Received: from isgenesis.com (rrcs-sw-24-242-139-162.biz.rr.com [24.242.139.162]) by postgresql.org (Postfix) with ESMTP id 2E996475452 for ; Fri, 29 Mar 2002 10:59:16 -0500 (EST) Received: from isgenesis.com ([192.168.2.101]) by isgenesis.com (8.11.6/8.11.2) with ESMTP id g2TFxK626148 for ; Fri, 29 Mar 2002 09:59:20 -0600 Message-ID: <3CA48F58.8020502@isgenesis.com> Date: Fri, 29 Mar 2002 09:59:20 -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: Index Existence Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Archive-Number: 200203/335 X-Sequence-Number: 3869 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