| From: | Robert Haas <robertmhaas(at)gmail(dot)com> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>, PostgreSQL Bugs List <pgsql-bugs(at)postgresql(dot)org> |
| Subject: | Re: issue about information_schema REFERENTIAL_CONSTRAINTS |
| Date: | 2010-09-13 00:27:49 |
| Message-ID: | AANLkTinvoOWQ2XDf-p9xkeT-tN+TjhQ6=c-nQmy+zLWO@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs pgsql-docs |
On Sun, Sep 12, 2010 at 12:40 AM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Robert Haas <robertmhaas(at)gmail(dot)com> writes:
>> On Tue, Aug 31, 2010 at 10:46 AM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>>> We are not going to try to enforce uniqueness. This has been debated
>>> before, and most people like the current behavior just fine, or at least
>>> better than the alternatives.
>
>> Really? I thought the issue was that no one had figured out how to do
>> it, or that no one had written the patch, not that anyone thought the
>> current behavior was particularly desirable. What happens if you say
>> ALTER TABLE .. DROP CONSTRAINT or COMMENT ON CONSTRAINT? You just
>> pick one at random?
>
> No, because those syntaxes constrain the choice to one single
> constraint. Perhaps if the SQL committee had designed 'em,
> there'd be an issue; but they are Postgres-isms.
Hrm. I was thinking of this old thread, but maybe that's not the same issue.
http://archives.postgresql.org/pgsql-hackers/2008-10/msg00256.php
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise Postgres Company
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Kesavan | 2010-09-13 03:48:49 | Re: BUG #5653: Error reading the C:/Program Files/PostgreSQL/8.4/data/postgresql.conf" |
| Previous Message | Dave Page | 2010-09-12 18:45:10 | Re: BUG #5653: Error reading the C:/Program Files/PostgreSQL/8.4/data/postgresql.conf" |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Robert Haas | 2010-09-13 00:36:34 | Re: Explanation of pg_authid.rolpassword |
| Previous Message | Bruce Momjian | 2010-09-12 13:47:28 | Re: Missing Win32 archive_command example |