Re: WHERE CURRENT OF with RLS quals that are ctid conditions

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Haas <robertmhaas@gmail.com>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2024-05-07T14:16:51Z
Lists: pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> Never mind all this. I think what I have in mind requires doing what
> you did first. So if you're happy with what you've got, I'd go for it.

OK.  HEAD-only sounds like a good compromise.  Barring objections,
I'll do that later today.

			regards, tom lane



Commits

  1. Prevent RLS filters on ctid from breaking WHERE CURRENT OF <cursor>.