Re: Fix output of zero privileges in psql

From: Erik Wienhold <ewie(at)ewie(dot)name>
To: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
Cc: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Fix output of zero privileges in psql
Date: 2023-10-14 00:46:54
Message-ID: e5kttot63s5m56mxg4pzbqj6vks5mlgzeyvzdalah57xxv4mrr@3xqyzzztrdtp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2023-10-09 10:29 +0200, Laurenz Albe write:
> On Sun, 2023-10-08 at 19:58 -0700, David G. Johnston wrote:
> > We probably should add the two terms to the glossary:
> >
> > empty privileges: all privileges explicitly revoked from the owner and PUBLIC
> > (where applicable), and none otherwise granted.
> >
> > built-in default privileges: owner having all privileges and no privileges
> > granted or removed via ALTER DEFAULT PRIVILEGES
>
> "Empty privileges" are too unimportant to warrant an index entry.
>
> I can see the value of an index entry
>
> <indexterm>
> <primary>privilege</primary>
> <secondary>default</secondary>
> </indexterm>
>
> Done in the attached v5 of the patch, even though this is not really
> the business of this patch.

+1

--
Erik

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Erik Wienhold 2023-10-14 01:04:05 Re: Fix output of zero privileges in psql
Previous Message Erik Wienhold 2023-10-14 00:45:17 Re: Fix output of zero privileges in psql