Grant privileges in all schemas

From: CN <cnliou9(at)fastmail(dot)fm>
To: pgsql-novice(at)postgresql(dot)org
Subject: Grant privileges in all schemas
Date: 2016-11-24 17:15:44
Message-ID: 1480007744.191040.798235809.74B023FC@webmail.messagingengine.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Hello!

What are the syntaxes to

1. grant SELECT on all tables in all existing schemas and all schemas
that might be created in the future to a role?

2. grant executing all PL/PGSQL functions in all existing schemas and
all schemas that might be created in the future to a role?

Both aforementioned privileges are granted only on one specific
database.

Thank you in advance!

Best regards,
CN

--
http://www.fastmail.com - Faster than the air-speed velocity of an
unladen european swallow

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Keith 2016-12-01 04:15:23 Re: Grant privileges in all schemas
Previous Message Tom Dron 2016-11-24 00:12:37 Re: Permission denied error for initdb