Re: Obtaining information on the schema of tables which

From: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
To: Daniel Ariel <pgsqlinterfaces(at)netzach(dot)co(dot)il>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: Obtaining information on the schema of tables which
Date: 2005-12-15 23:09:54
Message-ID: 20051215230954.GO40699@pervasive.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

On Thu, Dec 15, 2005 at 09:28:15AM +0200, Daniel Ariel wrote:
> > 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?)
>
> Tom's interpretation is correct.
>
> Is the required work to update to SQL2003 merely an update of the SQL of
> the views in information_schema ? If it would expedite matters I would
> be willing to help modify the SQL accordingly.

Some of the code in http://pgfoundry.org/projects/newsysviews/ might be
of use to you...
--
Jim C. Nasby, Sr. Engineering Consultant jnasby(at)pervasive(dot)com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message k.p.d.lehre 2005-12-18 15:17:06 To whom an SSL client crt (postgresql.crt) is issued
Previous Message Tom Lane 2005-12-15 18:02:20 Re: Get double values from binary cursor