Re: Obtaining information on the schema of tables which I do not own - Mailing list pgsql-interfaces

From Tom Lane
Subject Re: Obtaining information on the schema of tables which I do not own
Date
Msg-id 22357.1134583686@sss.pgh.pa.us
Whole thread Raw
In response to Re: Obtaining information on the schema of tables which I do not own  (Bruno Wolff III <bruno@wolff.to>)
Responses Re: Obtaining information on the schema of tables which
List pgsql-interfaces
Bruno Wolff III <bruno@wolff.to> writes:
>   Daniel Ariel <pgsqlinterfaces@netzach.co.il> wrote:
>> I am currently developing an application which needs to know information
>> about table schema in order to display them correctly (specificly
>> foreign keys, default values and not null characteristics).

> Probably you should start by seeing if the information schema provides what
> you need:
> http://developer.postgresql.org/docs/postgres/information-schema.html

I think what he was complaining about was that information_schema
restricts access to many things unless you are the table owner.
This is per SQL99, but SQL2003 seems to have relaxed the rules to
allow you to see info about tables you can access (ie, have nonzero
rights for).  Updating the information_schema to follow the SQL2003
rules is on the to-do list, but I dunno if anyone is actively working
on it.  (Peter?)
        regards, tom lane


pgsql-interfaces by date:

Previous
From: Bruno Wolff III
Date:
Subject: Re: Obtaining information on the schema of tables which I do not own
Next
From: Kashyap Jani
Date:
Subject: Dropped conection from libpq PGconn