Re: lastval exposes information that currval does not - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: lastval exposes information that currval does not
Date
Msg-id 20060728204633.GB3115@surnet.cl
Whole thread Raw
In response to Re: lastval exposes information that currval does not  (Phil Frost <indigo@bitglue.com>)
List pgsql-hackers
Phil Frost wrote:

> Again, fix is really simple. Document the issue, making it damn clear in
> the docs that the schema usage check means *nothing* when accessing an
> object by OID, and advising users that the ways to access things by OID
> are obscure but present and changing, so relying on the schema usage
> privilege is not a good idea. I'm not asking for a 2000 line patch here.
> A simple documentation change will do -- one that doesn't try to skirt
> around the issue like a dirty little secret.

Such as?

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-hackers by date:

Previous
From: Phil Frost
Date:
Subject: Re: lastval exposes information that currval does not
Next
From: Tom Lane
Date:
Subject: SubPostmasterMain startup should be a critical section?