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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

Re: Obtaining information on the schema of tables which


  • From: "Jim C. 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: Thu, 15 Dec 2005 17:09:54 -0600
  • Message-id: <20051215230954.GO40699@pervasive.com> <text/plain>

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



Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group