Re: Logical tape pause/resume

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: Logical tape pause/resume
Дата
Msg-id 55b3b7ae-8dec-b188-b8eb-e07604052351@iki.fi
обсуждение исходный текст
Ответ на Re: Logical tape pause/resume  (Peter Geoghegan <pg@heroku.com>)
Ответы Re: [HACKERS] Logical tape pause/resume  (Heikki Linnakangas <hlinnaka@iki.fi>)
Список pgsql-hackers
On 10/10/2016 10:31 PM, Peter Geoghegan wrote:
> On Sun, Oct 9, 2016 at 11:52 PM, Heikki Linnakangas <hlinnaka@iki.fi> wrote:
>> Ok, good. I think we're in agreement on doing this, then, even if we don't
>> agree on the justification :-).
>
> Agreed. :-)

Attached are new patch versions. Rebased them over current head, fixed a
number of bugs in the seek and backspace code, and did a bunch of
stylistic cleanups and comment fixes.

I changed the API of LogicalTapeBackspace() slightly. If you try to back
up beyond the beginning of tape, it used to return FALSE and do nothing.
Now it backspaces as much as it can, to the very beginning of the tape,
and returns the amount backspaced. That was more convenient than the old
behaviour with this new implementation.

- Heikki


Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Add PGDLLEXPORT to PG_FUNCTION_INFO_V1
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Remove "Source Code" column from \df+ ?