From: Christoph Haller <ch@rodos.fzk.de>
To: pgsql-sql@postgresql.org
Cc: rutes@eselx.ipl.pt
Subject: Re: how can i drop a <unnamed> constraint
Date: Tue, 25 Feb 2003 16:23:18 +0100
Message-ID: <3E5B8A65.15F2E0A2@rodos.fzk.de> (raw)
>
> >
> > i've got some tables where constraints don't have an explicit name,
> how can
> > i drop them.
> >
>
> Refer to the system catalogs section within the documentation.
> pg_relcheck keeps track of constraints.
>
>
More precisely
select relname , rcname from pg_class join pg_relcheck on (
pg_relcheck.rcrelid = pg_class.oid ) ;
Regards, Christoph
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: ch@rodos.fzk.de, rutes@eselx.ipl.pt
Subject: Re: how can i drop a <unnamed> constraint
In-Reply-To: <3E5B8A65.15F2E0A2@rodos.fzk.de>
* 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