From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: Kyle <kyle@actarg.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Getting FK relationships from information_schema
Date: Thu, 10 Jun 2004 02:32:14 -0400
Message-ID: <20685.1086849134@sss.pgh.pa.us> (raw)
In-Reply-To: <200406090836.25473.peter_e@gmx.net>
References: <40C500D8.9060009@actarg.com>
<40C5D790.6090407@actarg.com>
<16089.1086757487@sss.pgh.pa.us>
<200406090836.25473.peter_e@gmx.net>
Peter Eisentraut <peter_e@gmx.net> writes:
> Tom Lane wrote:
>> We have discussed changing the default names of FK constraints
>> before. I have no problem with doing something like the above --- any
>> objection out there?
> I think it's a good idea. It will also make the error messages of the
> kind "foreign key $1 violated" a bit clearer by default.
Right ho --- I'm working on a patch that will choose default names
of the form table_column_checkN and table_column_fkeyN, similar to
what we already do for index 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, peter_e@gmx.net, kyle@actarg.com
Subject: Re: Getting FK relationships from information_schema
In-Reply-To: <20685.1086849134@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