Re: Improve documentation of publication privilege checks
Peter Smith <smithpb2250@gmail.com>
From: Peter Smith <smithpb2250@gmail.com>
To: Chao Li <li.evan.chao@gmail.com>
Cc: Shlok Kyal <shlok.kyal.oss@gmail.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-12-23T23:42:53Z
Lists: pgsql-hackers
Attachments
- PS_wording.diff (application/octet-stream)
Hi Shlok/Chao-San. How about this alternative wording: <para> To create a publication using any of <literal>FOR ALL TABLES</literal>, <literal>FOR ALL SEQUENCES</literal>, or <literal>FOR TABLES IN SCHEMA</literal>, the user must be a superuser. To alter a publication using <literal>ADD TABLE</literal>, the user must have ownership rights on the table. To alter a publication using <literal>ADD TABLES IN SCHEMA</literal>, the user must be a superuser. </para> IMO this is both simpler and more consistent. PSA a diff for the same. ====== Kind Regards, Peter Smith. Fujitsu Australia