Re: Problem with txid_snapshot_in/out() functionality

Поиск
Список
Период
Сортировка
От Jan Wieck
Тема Re: Problem with txid_snapshot_in/out() functionality
Дата
Msg-id 534B05AC.9010602@wi3ck.info
обсуждение исходный текст
Ответ на Re: Problem with txid_snapshot_in/out() functionality  (Jan Wieck <jan@wi3ck.info>)
Ответы Re: Problem with txid_snapshot_in/out() functionality  (Marko Kreen <markokr@gmail.com>)
Список pgsql-hackers
On 04/13/14 14:22, Jan Wieck wrote:
> On 04/13/14 08:27, Marko Kreen wrote:
>> I think you need to do SET_VARSIZE also here.  Alternative is to
>> move SET_VARSIZE after sort_snapshot().
>>
>> And it seems the drop-double-txid logic should be added also to
>> txid_snapshot_recv().  It seems weird to have it behave differently
>> from txid_snapshot_in().
>>
>
> Thanks,
>
> yes on both issues. Will create another patch.

New patch attached.

New github commit is
https://github.com/wieck/postgres/commit/b8fd0d2eb78791e5171e34aecd233fd06218890d


Thanks again,
Jan

--
Jan Wieck
Senior Software Engineer
http://slony.info

Вложения

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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Race condition between PREPARE TRANSACTION and COMMIT PREPARED (was Re: Problem with txid_snapshot_in/out() functionality)
Следующее
От: Robert Haas
Дата:
Сообщение: Re: integrate pg_upgrade analyze_new_cluster.sh into vacuumdb