From: Tom Lane <tgl@sss.pgh.pa.us>
To: Stephan Szabo <sszabo@megazone23.bigpanda.com>
Cc: pgsql-hackers@postgreSQL.org
Cc: pgsql-sql@postgreSQL.org
Subject: Re: Uniqueness of rule, constraint, and trigger names
Date: Mon, 04 Mar 2002 17:18:32 -0500
Message-ID: <8491.1015280312@sss.pgh.pa.us> (raw)
In-Reply-To: <20020304140956.F80841-100000@megazone23.bigpanda.com>
References: <20020304140956.F80841-100000@megazone23.bigpanda.com>
Stephan Szabo <sszabo@megazone23.bigpanda.com> writes:
> On Mon, 4 Mar 2002, Tom Lane wrote:
>> For constraints, we'd need to change the code to be more careful to
>> generate unique names for unnamed constraints. That doesn't seem
> Another question would be what to do with inherited constraints that
> conflict in multiple inheritance cases. It'd probably be safe to rename
> those on the child table to be unique,
I'd just raise an error, I think, unless perhaps the constraints are
identical (for some definition of identical). We don't allow
conflicting column definitions to be inherited, so why constraints?
regards, tom lane
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, sszabo@megazone23.bigpanda.com, pgsql-hackers@postgreSQL.org
Subject: Re: Uniqueness of rule, constraint, and trigger names
In-Reply-To: <8491.1015280312@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