From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Philip Warner <pjw(at)rhyme(dot)com(dot)au> |
Cc: | Peter Eisentraut <peter_e(at)gmx(dot)net>, Andrew Dunstan <andrew(at)dunslane(dot)net>, Postgresql Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Information Schema and constraint names not |
Date: | 2003-11-07 00:38:44 |
Message-ID: | 24249.1068165524@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Philip Warner <pjw(at)rhyme(dot)com(dot)au> writes:
> Peter may have been alluding to this, and I misunderstood, but one idea
> might be to present a mangled name in the information schema; since the
> spec expects them to be unique, perhaps the schema should present them as
> unique.
Doesn't seem like this would work very well; an application that tried
to do anything with the constraint names it got from the view would soon
find that they were wrong. (And if you don't want to do anything with
the info you get from the view, why are you bothering to look at it?)
Your argument that we should add the table name to the view does have
some merit though.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2003-11-07 00:47:12 | Re: [HACKERS] Changes to Contributor List |
Previous Message | Philip Warner | 2003-11-07 00:23:11 | Re: Information Schema and constraint names not |