[PATCH] refactor ExecCheckPermissionsModified for ACL_SELECT

From: Steve Chavez <steve(at)supabase(dot)io>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: [PATCH] refactor ExecCheckPermissionsModified for ACL_SELECT
Date: 2026-03-23 22:23:59
Message-ID: CAGRrpzYP+3zEk__KZu-a5uWySfwgRFk6eoPXKrA5AdtBTXR=ng@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello hackers,

Currently the code on ExecCheckOneRelPerms duplicates the logic in
ExecCheckPermissionsModified.

This change accommodates ExecCheckPermissionsModified to handle ACL_SELECT
and makes ExecCheckOneRelPerms reuse code. It also merges similar comments.

Main benefit is that it reduces LOCs and centralizes column privilege logic.

Best regards,
Steve Chavez

Attachment Content-Type Size
0001-refactor-ExecCheckPermissionsModified-for-ACL_SELECT.patch text/x-patch 4.5 KB

Browse pgsql-hackers by date

  From Date Subject
Next Message Jim Nasby 2026-03-23 22:27:31 Re: another autovacuum scheduling thread
Previous Message Mihail Nikalayeu 2026-03-23 22:08:00 Re: Revisiting {CREATE INDEX, REINDEX} CONCURRENTLY improvements