Hello Everyone, It seems there's a general consensus that we should maintain a original design to support pg_prewarm, with a minor adjustment: when querying indexes, we should verify the privileges of the parent table.
I’ve attached a patch for this, which includes some test cases as well. Let me know if it needs any changes. Regards, Ayush Vatsa SDE AWS
v1-0001-Improve-ACL-checks-in-pg_prewarm-for-indexes.patch
Description: Binary data