Skip site navigation (1) Skip section navigation (2)

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-05 00:02:44
Message-ID: 16252.1157414564@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-committerspgsql-hackers
"Greg Sabino Mullane" <greg(at)turnstep(dot)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

In response to

Responses

pgsql-hackers by date

Next:From: Bruce MomjianDate: 2006-09-05 00:02:52
Subject: Stressful time
Previous:From: Gavin SherryDate: 2006-09-04 23:57:29
Subject: Re: [PATCHES] Trivial patch to double vacuum speed

pgsql-committers by date

Next:From: Bruce MomjianDate: 2006-09-05 00:13:41
Subject: pgsql: Update Japanese FAQ.
Previous:From: Greg Sabino MullaneDate: 2006-09-04 23:49:58
Subject: Re: [COMMITTERS] pgsql: Sequences were not being shown due to the use of lowercase `s`

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group