pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Fabien COELHO <coelho@cri.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 (resent)
Date: Fri, 3 Sep 2010 20:05:24 +0200 (CEST)
Message-ID: <alpine.DEB.2.00.1009032004270.2622@localhost.localdomain> (raw)


> 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 (31+ messages)  latest in thread

Message-ID: <alpine.DEB.2.00.1009032004270.2622@localhost.localdomain>
Permalink:  ../alpine.DEB.2.00.1009032004270.2622@localhost.localdomain/
Also on:    postgresql.org/message-id/alpine.DEB.2.00.1009032004270.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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: coelho@cri.ensmp.fr, Kevin.Grittner@wicourts.gov
  Subject: Re: issue about information_schema REFERENTIAL_CONSTRAINTS (resent)
  In-Reply-To: <alpine.DEB.2.00.1009032004270.2622@localhost.localdomain>
  References: <alpine.DEB.2.00.1009032004270.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