pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Fujii Masao <fujii@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove old RULE privilege completely.
Date: Thu, 12 Sep 2024 10:35:28 +0000
Message-ID: <E1sohAe-000jSc-O3@gemulon.postgresql.org> (raw)

Remove old RULE privilege completely.

The RULE privilege for tables was removed in v8.2, but for backward
compatibility, GRANT/REVOKE and privilege functions like
has_table_privilege continued to accept the RULE keyword without
any effect.

After discussions on pgsql-hackers, it was agreed that this compatibility
is no longer needed. Since it's been long enough since the deprecation,
we've decided to fully remove support for RULE privilege,
so GRANT/REVOKE and privilege functions will no longer accept it.

Author: Fujii Masao
Reviewed-by: Nathan Bossart
Discussion: https://postgr.es/m/976a3581-6939-457f-b947-fc3dc836c083@oss.nttdata.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/fefa76f70fdc75c91f80bddce2df7a8825205962

Modified Files
--------------
src/backend/catalog/aclchk.c             | 2 --
src/backend/utils/adt/acl.c              | 6 ------
src/test/regress/expected/privileges.out | 9 ---------
src/test/regress/sql/privileges.sql      | 4 ----
4 files changed, 21 deletions(-)



Message-ID: <E1sohAe-000jSc-O3@gemulon.postgresql.org>
Permalink:  ../E1sohAe-000jSc-O3@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1sohAe-000jSc-O3@gemulon.postgresql.org

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: fujii@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Remove old RULE privilege completely.
  In-Reply-To: <E1sohAe-000jSc-O3@gemulon.postgresql.org>

* 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