From: Herb Blacker <herbblacker@isgenesis.com>
To: pgsql-admin@postgresql.org
Subject: Index Existence
Date: Fri, 29 Mar 2002 09:59:20 -0600
Message-ID: <3CA48F58.8020502@isgenesis.com> (raw)
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: herbblacker@isgenesis.com
Subject: Re: Index Existence
In-Reply-To: <3CA48F58.8020502@isgenesis.com>
References: <3CA48F58.8020502@isgenesis.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox