Re: [HACKERS] PATCH: Make pg_stop_backup() archive wait optional

Поиск
Список
Период
Сортировка
От David Steele
Тема Re: [HACKERS] PATCH: Make pg_stop_backup() archive wait optional
Дата
Msg-id 22d564fc-545f-d242-fef1-b33dac9ac1f6@pgmasters.net
обсуждение исходный текст
Ответ на Re: [HACKERS] PATCH: Make pg_stop_backup() archive wait optional  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Ответы Re: PATCH: Make pg_stop_backup() archive wait optional  (Stephen Frost <sfrost@snowman.net>)
Список pgsql-hackers
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.

-- 
-David
david@pgmasters.net



В списке pgsql-hackers по дате отправления:

Предыдущее
От: David Steele
Дата:
Сообщение: Re: [HACKERS] increasing the default WAL segment size
Следующее
От: David Steele
Дата:
Сообщение: Re: [HACKERS] increasing the default WAL segment size