On Sun, 5 Apr 2026 at 17:06, Andrew Dunstan <andrew@dunslane.net> wrote:
> Pushed. I have moved the remaining get_*_ddl items to PG20-1
+1 on having this feature in general. But I'm not sure I understand
why it needs the whole bespoke string-based option parsing in the
first commit. Why not use named arguments for this, i.e. have the
usage syntax be:
SELECT * FROM pg_get_role_ddl('regress_role_ddl_test3', pretty => true);
Instead of the current:
SELECT * FROM pg_get_role_ddl('regress_role_ddl_test3', 'pretty', 'true');