Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file

Поиск
Список
Период
Сортировка
Искать
От
David Steele
Тема
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file
Дата
Msg-id
7a6c6d90-ae3d-87e0-b53f-7836ff000ebb@pgmasters.net
Ответ на
Список
Дерево обсуждения
Postgres restart in the middle of exclusive backup and the presence of backup_label file SATYANARAYANA NARLAPURAM <satyanarlapuram@gmail.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Michael Paquier <michael@paquier.xyz>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file SATYANARAYANA NARLAPURAM <satyanarlapuram@gmail.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Michael Paquier <michael@paquier.xyz>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Tom Lane <tgl@sss.pgh.pa.us>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Stephen Frost <sfrost@snowman.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Laurenz Albe <laurenz.albe@cybertec.at>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Stephen Frost <sfrost@snowman.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file "Bossart, Nathan" <bossartn@amazon.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Tom Lane <tgl@sss.pgh.pa.us>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file David Steele <david@pgmasters.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file "Bossart, Nathan" <bossartn@amazon.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file David Steele <david@pgmasters.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file "Bossart, Nathan" <bossartn@amazon.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file "Bossart, Nathan" <bossartn@amazon.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Andrew Dunstan <andrew@dunslane.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file David Steele <david@pgmasters.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file David Steele <david@pgmasters.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file "Bossart, Nathan" <bossartn@amazon.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file "Bossart, Nathan" <bossartn@amazon.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file "Euler Taveira" <euler@eulerto.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file David Steele <david@pgmasters.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file "Bossart, Nathan" <bossartn@amazon.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Nathan Bossart <nathandbossart@gmail.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Ashutosh Sharma <ashu.coek88@gmail.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Nathan Bossart <nathandbossart@gmail.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Ashutosh Sharma <ashu.coek88@gmail.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Nathan Bossart <nathandbossart@gmail.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Chapman Flack <chap@anastigmatix.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Nathan Bossart <nathandbossart@gmail.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Nathan Bossart <nathandbossart@gmail.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file David Steele <david@pgmasters.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Nathan Bossart <nathandbossart@gmail.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Stephen Frost <sfrost@snowman.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Chapman Flack <chap@anastigmatix.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Nathan Bossart <nathandbossart@gmail.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file David Steele <david@pgmasters.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Stephen Frost <sfrost@snowman.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Chapman Flack <chap@anastigmatix.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Stephen Frost <sfrost@snowman.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Chapman Flack <chap@anastigmatix.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Stephen Frost <sfrost@snowman.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Nathan Bossart <nathandbossart@gmail.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Chapman Flack <chap@anastigmatix.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Nathan Bossart <nathandbossart@gmail.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file David Steele <david@pgmasters.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Nathan Bossart <nathandbossart@gmail.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Chapman Flack <chap@anastigmatix.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Stephen Frost <sfrost@snowman.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Magnus Hagander <magnus@hagander.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Chapman Flack <chap@anastigmatix.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Stephen Frost <sfrost@snowman.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Chapman Flack <chap@anastigmatix.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Nathan Bossart <nathandbossart@gmail.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Chapman Flack <chap@anastigmatix.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Nathan Bossart <nathandbossart@gmail.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Chapman Flack <chap@anastigmatix.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Nathan Bossart <nathandbossart@gmail.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Stephen Frost <sfrost@snowman.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Nathan Bossart <nathandbossart@gmail.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file David Steele <david@pgmasters.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Nathan Bossart <nathandbossart@gmail.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Nathan Bossart <nathandbossart@gmail.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file David Steele <david@pgmasters.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Stephen Frost <sfrost@snowman.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Nathan Bossart <nathandbossart@gmail.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Laurenz Albe <laurenz.albe@cybertec.at>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Stephen Frost <sfrost@snowman.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Nathan Bossart <nathandbossart@gmail.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Martín Marqués <martin.marques@gmail.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Stephen Frost <sfrost@snowman.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Michael Paquier <michael@paquier.xyz>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Magnus Hagander <magnus@hagander.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file David Steele <david@pgmasters.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Chapman Flack <chap@anastigmatix.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Nathan Bossart <nathandbossart@gmail.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file David Steele <david@pgmasters.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Chapman Flack <chap@anastigmatix.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Chapman Flack <chap@anastigmatix.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Nathan Bossart <nathandbossart@gmail.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Michael Paquier <michael@paquier.xyz>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file SATYANARAYANA NARLAPURAM <satyanarlapuram@gmail.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file David Steele <david@pgmasters.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file "Bossart, Nathan" <bossartn@amazon.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Andrew Dunstan <andrew@dunslane.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file "Bossart, Nathan" <bossartn@amazon.com>
On 3/9/22 18:06, Nathan Bossart wrote:
> On Wed, Mar 09, 2022 at 06:11:19PM -0500, Chapman Flack wrote:
>> I think the listitem
>>
>>    In the same connection as before, issue the command:
>>    SELECT * FROM pg_backup_stop(true);
>>
>> would be clearer if it used named-parameter form, wait_for_archive => true.
>>
>> This is not strictly necessary, of course, for a function with a single
>> IN parameter, but it's good documentation (and also could save us headaches
>> like these if there is ever another future need to give it more parameters).
>>
>> That listitem doesn't say anything about what the parameter means, which
>> is a little weird, but probably ok because the next listitem does go into
>> it in some detail. I don't think a larger reorg is needed to bring that
>> language one listitem earlier. Just naming the parameter is probably
>> enough to make it less puzzling (or adding in that listitem, at most,
>> "the effect of the wait_for_archive parameter is explained below").
>>
>> For consistency (and the same futureproofing benefit), I'd go to
>> fast => false in the earlier pg_backup_start as well.
>>
>> I'm more ambivalent about label => 'label'. It would be consistent,
>> but should we just agree for conciseness that there will always be
>> a label and it will always be first?
>>
>> You can pretty much tell in a call what's a label; it's those anonymous
>> trues and falses that are easier to read with named notation.
> 
> Done.  I went ahead and added "label => 'label'" for consistency.

+1 from me.

Regards,
-David



В списке pgsql-hackers по дате отправления
От: Nathan Bossart
Дата:
От: Zhihong Yu
Дата:
Сообщение: Re: support for MERGE
FAQ