psql schema permissions - Mailing list pgsql-patches

From Dennis Bjorklund
Subject psql schema permissions
Date
Msg-id Pine.LNX.4.44.0406301508570.21809-200000@zigo.dhs.org
Whole thread Raw
Responses Re: psql schema permissions
Re: psql schema permissions
Re: psql schema permissions
List pgsql-patches
There is no way to show schema permissions in psql.

The alternatives are:

  1) A new \dpn command

  2) Extend \dp to also show rights for schemas, but then we need
     an extra column to describe what kind of object it is, and it
     would mess up the pattern stuff.

  3) Do nothing and let people who want to see schema permissions
     query the system table (select * from pg_namespace).

  4) Since \dn only shows the name and the owner we can simply
     add a permission column.

  5) Some better way that is unknow to me

I've attached a patch for number 4) which I think is the best. Well, 5) is
better, but also harder to implement.

--
/Dennis Björklund

Attachment

pgsql-patches by date:

Previous
From: Fabien COELHO
Date:
Subject: Re: patch queue reminder
Next
From: Gavin Sherry
Date:
Subject: Updated ALTER TABLE ... SET TABLESPACE patch