| From: | Ilmar Y <tanswis42(at)gmail(dot)com> |
|---|---|
| To: | pgsql-hackers(at)lists(dot)postgresql(dot)org |
| Cc: | Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com> |
| Subject: | Re: [PATCH] Add pg_get_policy_ddl() function to reconstruct CREATE POLICY statement |
| Date: | 2026-05-30 12:14:33 |
| Message-ID: | 178014327373.1017.715417267880560508.pgcf@coridan.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
The following review has been posted through the commitfest application:
make installcheck-world: not tested
Implements feature: tested, passed
Spec compliant: not tested
Documentation: not tested
Hi,
I re-checked v11 against current origin/master at
db5ed03217b9c238703df8b4b286115d6e940488.
The patch applies cleanly, and git diff --check reports no issues.
I built with:
./configure --prefix="$PWD/pg-install" --without-readline --without-zlib --without-icu
make -s -j8
make -s install
make -C src/test/regress check TESTS=rowsecurity
passed. The regression run completed successfully; all 245 tests passed,
including rowsecurity.
I also re-ran the two manual repro scripts from my previous review. Both now
complete successfully.
The non-pretty USING case now reconstructs:
CREATE POLICY p_true ON public.t USING (true);
and the generated statement executes successfully.
The non-pretty WITH CHECK case now reconstructs:
CREATE POLICY p_check ON public.t FOR INSERT WITH CHECK (false);
and that generated statement also executes successfully.
So the round-trip issue I reported for v10 is fixed for me in v11.
Regards,
Ilmar Yunusov
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Andrew Dunstan | 2026-05-30 13:20:16 | Re: [PATCH] Reject ENCODING option for COPY TO FORMAT JSON |
| Previous Message | Ilmar Y | 2026-05-30 11:51:30 | Re: [PATCH] Prevent repeated deadlock-check signals in standby buffer pin waits |