Re: Avoid orphaned objects dependencies, take 3 - Mailing list pgsql-hackers

From Jeff Davis
Subject Re: Avoid orphaned objects dependencies, take 3
Date
Msg-id 71eb9a8835a28165939da567a9d649fe6d21bfa7.camel@j-davis.com
Whole thread
In response to Re: Avoid orphaned objects dependencies, take 3  (Bertrand Drouvot <bertranddrouvot.pg@gmail.com>)
Responses Re: Avoid orphaned objects dependencies, take 3
List pgsql-hackers
On Fri, 2026-06-05 at 13:09 +0000, Bertrand Drouvot wrote:
> the current patch

  /*
   * Look up a tracked aclcheck entry for the given object.
   * Returns true if found, filling in roleId, mode, and inval_count.
   * Searches from the end to find the most recent check (the one with
the
   * freshest inval_count).

What if two tracked ACL checks had different modes? Don't you need to
do both checks or somehow combine the modes in the tracking entry?

(I'm not sure if this is a practical problem or not.)

Regards,
    Jeff Davis





pgsql-hackers by date:

Previous
From: "Matheus Alcantara"
Date:
Subject: Re: Add pattern matching support for LISTEN/NOTIFY channels
Next
From: Tom Lane
Date:
Subject: Re: Add pattern matching support for LISTEN/NOTIFY channels