From: Jim C. Nasby <jnasby@pervasive.com>
To: Daniel Ariel <pgsqlinterfaces@netzach.co.il>
Cc: pgsql-interfaces@postgresql.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> (raw)
In-Reply-To: <Pine.LNX.4.58.0512150920040.3946@perpetual.jerusalem.plus.com>
References: <Pine.LNX.4.58.0512122253330.25426@perpetual.jerusalem.plus.com>
<20051214173955.GA9238@wolff.to>
<22357.1134583686@sss.pgh.pa.us>
<Pine.LNX.4.58.0512150920040.3946@perpetual.jerusalem.plus.com>
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@pervasive.com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: jnasby@pervasive.com, pgsqlinterfaces@netzach.co.il
Subject: Re: Obtaining information on the schema of tables which
In-Reply-To: <20051215230954.GO40699@pervasive.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox