pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: George Pavlov <gpavlov@mynewplace.com>
Cc: pgsql-sql <pgsql-sql@postgresql.org>
Subject: Re: dropping a schema and cross-schema dependencies
Date: Fri, 06 Apr 2007 19:39:38 -0400
Message-ID: <29158.1175902778@sss.pgh.pa.us> (raw)
In-Reply-To: <8C5B026B51B6854CBE88121DBF097A86A2CAF1@ehost010-33.exch010.intermedia.net>
References: <8C5B026B51B6854CBE88121DBF097A86A2CAF1@ehost010-33.exch010.intermedia.net>

"George Pavlov" <gpavlov@mynewplace.com> writes:
> As an immediate solution can anyone share a comprehensive query to
> INFORMATION_SCHEMA/PG_CATALOG that can be used to check for any
> cross-schema dependencies and halt before issuing a DROP with a CASCADE?

Issue the DROP without CASCADE and read the error message.

			regards, tom lane



view thread (3+ messages)  latest in thread

Message-ID: <29158.1175902778@sss.pgh.pa.us>
Permalink:  ../29158.1175902778@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/29158.1175902778@sss.pgh.pa.us

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, gpavlov@mynewplace.com
  Subject: Re: dropping a schema and cross-schema dependencies
  In-Reply-To: <29158.1175902778@sss.pgh.pa.us>

* 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