pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Grzegorz Szpetkowski <gszpetkowski@gmail.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #6021: There is no difference between default and empty access privileges with \dp
Date: Thu, 12 May 2011 19:57:04 -0400
Message-ID: <13251.1305244624@sss.pgh.pa.us> (raw)
In-Reply-To: <BANLkTi=d+jASUU=rK=tH2ub=8Am3oyJ9aw@mail.gmail.com>
References: <201105110710.p4B7ALQ5021179@wwwmaster.postgresql.org>
	<11419.1305238830@sss.pgh.pa.us>
	<BANLkTi=-Gsdd2d6QFCqYwUET1zCNSY9=eQ@mail.gmail.com>
	<BANLkTi=d+jASUU=rK=tH2ub=8Am3oyJ9aw@mail.gmail.com>

Grzegorz Szpetkowski <gszpetkowski@gmail.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



view thread (11+ messages)  latest in thread

Message-ID: <13251.1305244624@sss.pgh.pa.us>
Permalink:  ../13251.1305244624@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/13251.1305244624@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, gszpetkowski@gmail.com
  Subject: Re: BUG #6021: There is no difference between default and empty access privileges with \dp
  In-Reply-To: <13251.1305244624@sss.pgh.pa.us>
  References: <201105110710.p4B7ALQ5021179@wwwmaster.postgresql.org> <11419.1305238830@sss.pgh.pa.us> <BANLkTi=-Gsdd2d6QFCqYwUET1zCNSY9=eQ@mail.gmail.com> <BANLkTi=d+jASUU=rK=tH2ub=8Am3oyJ9aw@mail.gmail.com> <13251.1305244624@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox