From: | Dave Cramer <pg(at)fastcrypt(dot)com> |
---|---|
To: | Jim Nasby <jim(at)nasby(dot)net> |
Cc: | Peter Eisentraut <peter_e(at)gmx(dot)net>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Why doesn't psql use the information schema to get ACL description ? |
Date: | 2011-08-26 02:11:25 |
Message-ID: | CADK3HHKNPaw6hpnagF_UyvrEZWG2bRAsO33NAg16uiqhnzvqmA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Thu, Aug 25, 2011 at 5:51 PM, Jim Nasby <jim(at)nasby(dot)net> wrote:
> On Aug 23, 2011, at 1:57 PM, Peter Eisentraut wrote:
>>> Ultimately my ulterior motive is to make sure the information schema
>>> is actually useful and ensure that it maintains that status.
>>
>> The information schema only exposes privileges defined in the SQL
>> standard on objects defined in the SQL standard. So psql or any tool
>> that wants to provide information on PostgreSQL-specific features can't
>> use that. But perhaps the JDBC interfaces only expose certain standard
>> information anyway, so it could be useful. Depends on the details,
>> though.
>
> Related to this is the newsysviews project, which was intended to present more human-friendly info ala info_schema, but to also provide PostgreSQL-specific information (which info_schema can't).
I'll have to have a look at this when I get a moment, sounds
promising. Will be even better if we get all clients using it.
Dave Cramer
dave.cramer(at)credativ(dot)ca
http://www.credativ.ca
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2011-08-26 03:13:48 | Re: A couple of issues with psql variable substitution |
Previous Message | Bruce Momjian | 2011-08-26 00:54:26 | pg_upgrade problem (fwd) |