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 13928.1157409996@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:
> Tom Lane replied:
>> What became of my objection that the test should be on USAGE privilege
>> for the containing schema instead?

> I took a stab at implementing this, but what exactly would we check? Looks
> like all the temp tables have automatic usage for the same user, according to

> 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.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [COMMITTERS] pgsql: sslinfo contrib module - information about current SSL
Next
From: Tom Lane
Date:
Subject: Erratic failures on buildfarm member leveret