Re: Information Schema and constraint names not - Mailing list pgsql-hackers

From Philip Warner
Subject Re: Information Schema and constraint names not
Date
Msg-id 6.0.0.22.0.20031107112038.0406bb40@203.8.195.10
Whole thread Raw
In response to Re: Information Schema and constraint names not  (Philip Warner <pjw@rhyme.com.au>)
Responses Re: Information Schema and constraint names not
List pgsql-hackers
At 10:54 AM 7/11/2003, Philip Warner wrote:
>add table OID (or something else) to the information schema

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. Downside is that named constraints would also have to be mangled. A 
compromise would be to only mangle the '$n' constraints, and just prepend 
'pg_<tablename>' to the constraint name in the view.



----------------------------------------------------------------
Philip Warner                    |     __---_____
Albatross Consulting Pty. Ltd.   |----/       -  \
(A.B.N. 75 008 659 498)          |          /(@)   ______---_
Tel: (+61) 0500 83 82 81         |                 _________  \
Fax: (+61) 03 5330 3172          |                 ___________ |
Http://www.rhyme.com.au          |                /           \|                                 |    --________--
PGP key available upon request,  |  /
and from pgp5.ai.mit.edu:11371   |/ 



pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: Information Schema and constraint names not
Next
From: Tom Lane
Date:
Subject: Re: Information Schema and constraint names not