pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Fabien COELHO <fabien.coelho@ensmp.fr>
To: Kevin Grittner <Kevin.Grittner@wicourts.gov>
Cc: PostgreSQL Bugs List <pgsql-bugs@postgresql.org>
Subject: Re: issue about information_schema REFERENTIAL_CONSTRAINTS
Date: Fri, 3 Sep 2010 19:50:07 +0200 (CEST)
Message-ID: <alpine.DEB.2.00.1009031939250.2622@localhost.localdomain> (raw)
In-Reply-To: <4C80CA8B020000250003517B@gw.wicourts.gov>
References: <alpine.DEB.2.00.1008311337530.2449@localhost.localdomain>
	<2683.1283266019@sss.pgh.pa.us>
	<alpine.DEB.2.00.1009011557480.2570@localhost.localdomain>
	<1283369900.15386.0.camel@vanquo.pezone.net>
	<alpine.DEB.2.00.1009020741380.2656@localhost.localdomain>
	<1283438419.23199.0.camel@vanquo.pezone.net>
	<alpine.DEB.2.00.1009021959070.2656@localhost.localdomain>
	<6462.1283454730@sss.pgh.pa.us>
	<alpine.DEB.2.00.1009031348321.2448@localhost.localdomain>
	<alpine.DEB.2.00.1009031348321.2448@localhost.localdomain>
	<22801.1283525905@sss.pgh.pa.us>
	<4C80CA8B020000250003517B@gw.wicourts.gov>


> If you're going to use something which is PostgreSQL-specific, you may 
> as well write your own views or use the "native" tables and views 
> directly.

I wish I could write portable code, if possible:-)

I'm basically writing views on top of the information_schema under the 
assumption that what is expected to be a key is a key. The information 
schema is *useless* otherwise as wrong tuples are built on join, and 
derived information is not reliable.

I guess I must the only actual user of the information_schema, and it will 
soon be back to zero user, which will be fine from the developers point of 
view.

-- 
Fabien.



view thread (33+ messages)  latest in thread

Message-ID: <alpine.DEB.2.00.1009031939250.2622@localhost.localdomain>
Permalink:  ../alpine.DEB.2.00.1009031939250.2622@localhost.localdomain/
Also on:    postgresql.org/message-id/alpine.DEB.2.00.1009031939250.2622@localhost.localdomain

 · 

reply

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-docs@postgresql.org
  Cc: fabien.coelho@ensmp.fr, Kevin.Grittner@wicourts.gov, pgsql-bugs@postgresql.org
  Subject: Re: issue about information_schema REFERENTIAL_CONSTRAINTS
  In-Reply-To: <alpine.DEB.2.00.1009031939250.2622@localhost.localdomain>

* 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