Re: [COMMITTERS] pgsql: Sequences were not being shown due to the use of lowercase `s` - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [COMMITTERS] pgsql: Sequences were not being shown due to the use of lowercase `s`
Date
Msg-id 16252.1157414564@sss.pgh.pa.us
Whole thread Raw
In response to Re: [COMMITTERS] pgsql: Sequences were not being shown due to the use of lowercase `s`  ("Greg Sabino Mullane" <greg@turnstep.com>)
Responses Re: [COMMITTERS] pgsql: Sequences were not being shown due to the use of lowercase `s`  ("Greg Sabino Mullane" <greg@turnstep.com>)
List pgsql-hackers
"Greg Sabino Mullane" <greg@turnstep.com> writes:
>>> SELECT *,has_schema_privilege(oid,'USAGE') FROM pg_namespace;

>> Well, if you test it as a superuser, it's going to return TRUE every
>> time.

> Exactly. So I'm not seeing how we can use USAGE as a reliable test for
> the case where a temporary table was created by the same user, but in
> another session.

Superusers can access anything they want to.  What's your point?
The spec says "accessible" ...
        regards, tom lane


pgsql-hackers by date:

Previous
From: Gavin Sherry
Date:
Subject: Re: [PATCHES] Trivial patch to double vacuum speed
Next
From: Bruce Momjian
Date:
Subject: Stressful time