Re: Add --{no-,}bypassrls flags to createuser - Mailing list pgsql-hackers

From Przemysław Sztoch
Subject Re: Add --{no-,}bypassrls flags to createuser
Date
Msg-id 887b1583-218a-f61f-13fc-2c1a1ee8eb59@sztoch.pl
Whole thread Raw
In response to Re: Add --{no-,}bypassrls flags to createuser  ("David G. Johnston" <david.g.johnston@gmail.com>)
Responses Re: Add --{no-,}bypassrls flags to createuser
List pgsql-hackers
David G. Johnston wrote on 5/19/2022 3:46 AM:
I think that this feature is at least worth considering - but absent an existing command that does this I would agree that doing so constitutes a separate feature.

As an aside, I'd rather overcome this particular objection by having the CREATE object command all accept an optional "COMMENT IS" clause.

David J.
The createuser command is typically used by IT personnel unfamiliar with SQL and unfamiliar with psql.
They often use this command because software installation procedures require it.
Lack of comment then causes more mess in the configuration of larger servers.
I still think it's worth adding the --comment argument to execute the next SQL statement by createuser.
This will simplify the setup scripts and installation instructions for the final software.

I believe that it is not worth dividing it into a separate program.

The same --comment argument is needed for the createdb command.
--
Przemysław Sztoch | Mobile +48 509 99 00 66

pgsql-hackers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: Re: Patch: Don't set LoadedSSL unless secure_initialize succeeds
Next
From: Stephen Frost
Date:
Subject: Re: Unsubscribing from this mailing list.