Re: PATCH: Make pg_stop_backup() archive wait optional - Mailing list pgsql-hackers

From David Steele
Subject Re: PATCH: Make pg_stop_backup() archive wait optional
Date
Msg-id bbb04860-8c43-46f8-d528-3c2d270c84ba@pgmasters.net
Whole thread Raw
In response to Re: [HACKERS] PATCH: Make pg_stop_backup() archive wait optional  ("Tsunakawa, Takayuki" <tsunakawa.takay@jp.fujitsu.com>)
List pgsql-hackers
On 4/4/17 11:42 AM, Stephen Frost wrote:
> * David Steele (david@pgmasters.net) wrote:
>> On 3/22/17 4:42 PM, Peter Eisentraut wrote:
>>> On 3/22/17 15:14, Stephen Frost wrote:
>>>>> -SELECT * FROM pg_stop_backup(false);
>>>>> +SELECT * FROM pg_stop_backup(false [, true ]);
>>>>>
>>>>> I think that it's better to get rid of "[" and "]" from the above because
>>>>> IMO this should be the command example that users actually can run.
>>>> Using the '[' and ']' are how all of the optional arguments are
>>>> specified in the documentation, see things like current_setting() in our
>>>> existing documentation:
>>>
>>> In the synopsis, but not in concrete examples.
>>
>> Wasn't quite sure what the protocol was in this case, and figured it
>> was easier to subtract than to add.
>
> Forgot to close this out sooner, apologies.
>
> This has been committed now.

Thank you, Stephen!

--
-David
david@pgmasters.net


pgsql-hackers by date:

Previous
From: Maksim Milyutin
Date:
Subject: Re: Proposal: Local indexes for partitioned table
Next
From: Robert Haas
Date:
Subject: Re: Instead of DROP function use UPDATE pg_proc in anupgrade extension script