From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | josh(at)agliodbs(dot)com |
Cc: | pgsql-hackers(at)postgresql(dot)org, Stephan Szabo <sszabo(at)megazone(dot)bigpanda(dot)com>, "Clark C(dot) Evans" <cce(at)clarkevans(dot)com>, Bruno Wolff III <bruno(at)wolff(dot)to> |
Subject: | Re: constraints and sql92 information_schema compliance |
Date: | 2006-02-27 16:39:30 |
Message-ID: | 19869.1141058370@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Josh Berkus <josh(at)agliodbs(dot)com> writes:
>> No way. The entire point of information_schema is that it is standard;
>> adding non-spec things to it renders it no better than direct access
>> to the PG catalogs.
> Hmmm ... so, per you, we can't add extra views covering non-spec objects to
> the information_schema (like aggregates) because we can't modify it in any
> way. But per Peter we can't add new views to the pg_catalog because we
> want people to use information_schema. I sense a catch-22 here.
I doubt Peter really meant that we can't add any new views; in
particular, for information that is not available from the standard
information_schema it's certainly silly to claim that people should go
to information_schema for it. I do see his point that we shouldn't
unnecessarily duplicate functionality that's available in a standardized
view.
I do have doubts about adding any large number of add-on views to
pg_catalog, because of the privileged place of that schema in search
paths. It'd be better to put them in a separate schema ("pg_info"
maybe?) where they'd pose less risk of conflicts with user-defined names.
Does newsysviews already do this?
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2006-02-27 16:46:36 | Re: Any conclusion on the Xeon context-switching issue? |
Previous Message | Dave Page | 2006-02-27 16:29:15 | Re: pg_config, pg_service.conf, postgresql.conf .... |