pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Herb Blacker <herbblacker@isgenesis.com>
To: pgsql-admin@postgresql.org
Subject: Checking Existence
Date: Wed, 06 Mar 2002 10:11:48 -0600
Message-ID: <3C863FC4.6070808@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




Message-ID: <3C863FC4.6070808@isgenesis.com>
Permalink:  ../3C863FC4.6070808@isgenesis.com/
Also on:    postgresql.org/message-id/3C863FC4.6070808@isgenesis.com

 · 

reply

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: Checking Existence
  In-Reply-To: <3C863FC4.6070808@isgenesis.com>
  References: <3C863FC4.6070808@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