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

From Daniel Gustafsson
Subject Re: Add --{no-,}bypassrls flags to createuser
Date
Msg-id 25D72E41-9ED2-4EED-B18E-E7979E031DDB@yesql.se
Whole thread Raw
In response to Re: Add --{no-,}bypassrls flags to createuser  (Shinya Kato <Shinya11.Kato@oss.nttdata.com>)
Responses Re: Add --{no-,}bypassrls flags to createuser
List pgsql-hackers
> On 14 Apr 2022, at 09:42, Shinya Kato <Shinya11.Kato@oss.nttdata.com> wrote:

> To add the ROLE clause, the originally existing --role option (corresponding to the IN ROLE clause) is changed to the
--in-roleoption. Would this not be good from a backward compatibility standpoint? 

-    printf(_("  -g, --role=ROLE           new role will be a member of this role\n"));
+    printf(_("  -g, --in-role=ROLE        new role will be a member of this role\n"));
+    printf(_("  -G, --role=ROLE           this role will be a member of new role\n"));

Won't this make existing scripts to behave differently after an upgrade?  That
seems like something we should avoid at all costs.

--
Daniel Gustafsson        https://vmware.com/




pgsql-hackers by date:

Previous
From: "wangw.fnst@fujitsu.com"
Date:
Subject: RE: Skipping schema changes in publication
Next
From: Alena Katkova
Date:
Subject: GSoC: New and improved website for pgjdbc (JDBC) (2022)