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

Re: BUG #6021: There is no difference between default and empty access privileges with \dp

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Grzegorz Szpetkowski <gszpetkowski(at)gmail(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #6021: There is no difference between default and empty access privileges with \dp
Date: 2011-05-12 23:57:04
Message-ID: 13251.1305244624@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-bugs
Grzegorz Szpetkowski <gszpetkowski(at)gmail(dot)com> writes:
> I see that I just confused old PostgreSQL 8.3 curly bracket behaviour
> with new 8.4/9.0 (I am using 8.3 all the time):

Oh, you're right --- so I was mistaken to claim it had always been like
that.  Before we started using array_to_string here, you *could* tell
the difference between default privileges and no privileges.

The precedent of previous versions makes it more plausible that we
should print '{}' for no privileges, but I'm still not quite convinced.
Anybody else have an opinion?

			regards, tom lane

In response to

Responses

pgsql-bugs by date

Next:From: Grzegorz SzpetkowskiDate: 2011-05-13 01:33:54
Subject: Re: BUG #6021: There is no difference between default and empty access privileges with \dp
Previous:From: Grzegorz SzpetkowskiDate: 2011-05-12 23:45:56
Subject: Re: BUG #6021: There is no difference between default and empty access privileges with \dp

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