pgsql: createuser: Cleanup and fix internal option ordering

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: createuser: Cleanup and fix internal option ordering
Date: 2022-07-13 02:29:37
Message-ID: E1oBS87-002Wiv-MW@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

createuser: Cleanup and fix internal option ordering

This utility supports 23 options that are not really ordered in the
code, making the addition of new things more complicated than necessary.
This cleanup is in preparation for a patch to add even more options.

Discussion: https://postgr.es/m/69a9851035cf0f0477bcc5d742b031a3@oss.nttdata.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/50e4c280f0661f3ef837d2c3beb5fcc100202324

Modified Files
--------------
src/bin/scripts/createuser.c | 98 ++++++++++++++++++++++----------------------
1 file changed, 49 insertions(+), 49 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message David Rowley 2022-07-13 03:04:38 pgsql: Use list_copy_head() instead of list_truncate(list_copy(...), ..
Previous Message John Naylor 2022-07-13 02:23:10 Re: pgsql: Clarify that pg_dump takes ACCESS SHARE lock