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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Greg Sabino Mullane" <greg(at)turnstep(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [COMMITTERS] pgsql: Sequences were not being shown due to the use of lowercase `s`
Date: 2006-09-04 22:46:36
Message-ID: 13928.1157409996@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

"Greg Sabino Mullane" <greg(at)turnstep(dot)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

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message User Turnstep 2006-09-04 23:00:29 press - pr: Remvoe city ambiguity, add note on current advocacy quote
Previous Message Tom Lane 2006-09-04 22:41:06 Re: [COMMITTERS] pgsql: sslinfo contrib module - information about current SSL

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2006-09-04 22:51:50 Erratic failures on buildfarm member leveret
Previous Message Tom Lane 2006-09-04 22:41:06 Re: [COMMITTERS] pgsql: sslinfo contrib module - information about current SSL