pgsql: createuser: Cleanup and fix internal option ordering - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: createuser: Cleanup and fix internal option ordering
Date
Msg-id E1oBS87-002Wiv-MW@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: John Naylor
Date:
Subject: Re: pgsql: Clarify that pg_dump takes ACCESS SHARE lock
Next
From: David Rowley
Date:
Subject: pgsql: Use list_copy_head() instead of list_truncate(list_copy(...), ..