Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-interfaces by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group