Re: [FEATURE REQUEST] Streaming Onlinebackup (MaybeOFFTOPIC)

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: [FEATURE REQUEST] Streaming Onlinebackup (MaybeOFFTOPIC)
Дата
Msg-id 46FB5C48.5050903@enterprisedb.com
обсуждение исходный текст
Ответ на Re: [FEATURE REQUEST] Streaming Onlinebackup (Maybe OFFTOPIC)  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Ответы Re: [FEATURE REQUEST] Streaming Onlinebackup (MaybeOFFTOPIC)  (Simon Riggs <simon@2ndquadrant.com>)
Re: [FEATURE REQUEST] Streaming Onlinebackup (MaybeOFFTOPIC)  ("Zeugswetter Andreas ADI SD" <Andreas.Zeugswetter@s-itsolutions.at>)
Список pgsql-hackers
Kevin Grittner wrote:
> <1190837675.4181.716.camel@ebony.site>, Simon Riggs <simon@2ndquadrant.com>
> wrote: 
>> We should also document that this is designed to help compress files
>> that aren't full because we switched early because of archive_timeout.
>  
> Attached is a modified version to implement both of these.  I also bailed
> out if there was surplus input.  I tried an optimization of allocating a
> separate buffer for outputting the zeros, to avoid repeated memset calls.
> It didn't seem to make a very big difference; do you think it's worth
> cluttering the code with that?

Would it work to just ftruncate the file?

--  Heikki Linnakangas EnterpriseDB   http://www.enterprisedb.com


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Temporarily modify tsearch regression tests to suppress notice
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: [FEATURE REQUEST] Streaming Onlinebackup (MaybeOFFTOPIC)