Re: revamp row-security tracking - Mailing list pgsql-hackers

From Tom Lane
Subject Re: revamp row-security tracking
Date
Msg-id 853593.1739815709@sss.pgh.pa.us
Whole thread Raw
In response to Re: revamp row-security tracking  (Nathan Bossart <nathandbossart@gmail.com>)
Responses Re: revamp row-security tracking
List pgsql-hackers
Nathan Bossart <nathandbossart@gmail.com> writes:
> Given there doesn't seem to be a huge amount of interest in this, I plan to
> mark it as Withdrawn soon.

I think you're being too impatient.  It's still an interesting
topic, it just needs more thought to get to something committable.

I find this has-row-security marking problem to be comparable
to the has-sublinks marking problem.  We've had tons of
bugs-of-omission with that too, and the present code feels
ugly and not any less prone to omissions than it ever was.

I wonder whether considering both problems together would yield any
insights, following Polya's dictum that "the more general problem may
be easier to solve".

One straightforward idea is to just not do the marking at all,
but rather require places that want to know these properties
to do a fresh search of the query tree when they want to know
it.  That obviously has performance questions to answer, but
it's easier to give answers to performance questions than
"is this correct" questions.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: Showing primitive index scan count in EXPLAIN ANALYZE (for skip scan and SAOP scans)
Next
From: Masahiko Sawada
Date:
Subject: Re: Parallel heap vacuum