Re: Views, views, views! (long)

From: "Dann Corbit" <DCorbit(at)connx(dot)com>
To: "Josh Berkus" <josh(at)agliodbs(dot)com>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "PostgreSQL-development" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Views, views, views! (long)
Date: 2005-05-05 16:48:13
Message-ID: D425483C2C5C9F49B5B7A41F89441547055B54@postal.corporate.connx.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Why not tack on the missing functionality to the INFORMATION_SCHEMA views?

A couple of new tables and foreign keys should do it, n'est ce pas?

> -----Original Message-----
> From: pgsql-hackers-owner(at)postgresql(dot)org [mailto:pgsql-hackers-
> owner(at)postgresql(dot)org] On Behalf Of Josh Berkus
> Sent: Wednesday, May 04, 2005 10:02 PM
> To: Tom Lane
> Cc: PostgreSQL-development
> Subject: Re: [HACKERS] Views, views, views! (long)
>
> Tom,
>
> > To put it more bluntly: exactly what are you accomplishing here that
> > isn't already accomplished, in a *truly* standard fashion, by the
> > INFORMATION_SCHEMA? Why do we need yet another nonstandard view on
> > the underlying reality?
>
> To quote myself:
>
> Q: Why not just use information_schema?
> A: Because the columns and layout of information_schema is strictly
> defined by
> the SQL standard.  This prevents it from covering all PostgreSQL objects,
> or
> from covering the existing objects adequately to replicate a CREATE
> statement.  As examples, there is no "types" table in information_schema,
> and
> the "constraints" table assumes that constraint names are universally
> unique
> instead of table-unique as they are in PG.
>
> --
> Josh Berkus
> Aglio Database Solutions
> San Francisco
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/docs/faq

Browse pgsql-hackers by date

  From Date Subject
Next Message Andreas Pflug 2005-05-05 16:55:38 Re: Views, views, views! (long)
Previous Message Joe Conway 2005-05-05 16:41:20 Re: [pgsql-advocacy] Increased company involvement