Re: Extra functionality to createuser - Mailing list pgsql-hackers

From Christopher Browne
Subject Re: Extra functionality to createuser
Date
Msg-id CAFNqd5XBiNq_WUwtcPci7QVNm8j3rfqhQ-5giWLT0THKa=HaOw@mail.gmail.com
Whole thread Raw
In response to Re: Extra functionality to createuser  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: Extra functionality to createuser  (Amit Kapila <amit.kapila16@gmail.com>)
List pgsql-hackers
On Fri, Nov 15, 2013 at 3:14 PM, Peter Eisentraut <peter_e@gmx.net> wrote:
> On 11/14/13, 4:35 PM, Christopher Browne wrote:> On Thu, Nov 14, 2013 at
> 5:41 AM, Sameer Thakur <samthakur74@gmail.com> wrote:
>>> So i think -g option is failing
>>
>> Right you are.
>>
>> I was missing a "g:" in the getopt_long() call.
>>
>> Attached is a revised patch that handles that.
>>
>
> src/bin/scripts/createuser.c:117: indent with spaces.
> +                       case 'g':
> src/bin/scripts/createuser.c:118: indent with spaces.
> +                               roles = pg_strdup(optarg);

OK, I ran pgindent on createuser.c, which leads to the Next Patch...

--
When confronted by a difficult problem, solve it by reducing it to the
question, "How would the Lone Ranger handle this?"

Attachment

pgsql-hackers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: autovacuum_work_mem
Next
From: Tom Lane
Date:
Subject: Re: Improve code in tidbitmap.c