pgsql: createuser: fix parsing of --connection-limit argument

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: createuser: fix parsing of --connection-limit argument
Date: 2020-02-10 15:17:59
Message-ID: E1j1Aox-0000hm-KN@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

createuser: fix parsing of --connection-limit argument

The original coding failed to quote the argument properly.

Reported-by: Daniel Gustafsson
Discussion: 1B8AE66C-85AB-4728-9BB4-612E8E61C219(at)yesql(dot)se

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8fa8e011563744f61d29024ab187a189124a6551

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

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2020-02-10 15:37:53 Re: pgsql: walreceiver uses a temporary replication slot by default
Previous Message Alvaro Herrera 2020-02-10 15:07:37 pgsql: Fix priv checks for ALTER <object> DEPENDS ON EXTENSION