Re: Possible bug in PostgreSQL 9.2 stable: TwoPhaseGetDummyBackendId()

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Possible bug in PostgreSQL 9.2 stable: TwoPhaseGetDummyBackendId()
Дата
Msg-id 11467.1344438519@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Possible bug in PostgreSQL 9.2 stable: TwoPhaseGetDummyBackendId()  (Robert Ross <rross@translattice.com>)
Список pgsql-hackers
Robert Ross <rross@translattice.com> writes:
> I have looked at the Postgres 9.2 stable and Postgres 9.2 beta 3 git  
> archives and this bug still appears to be present.

> TwoPhaseGetDummyProc returns a PGPROC*. In 9.0, it was safe for  
> TwoPhaseGetDummyBackendId() to cast this to a GlobalTransaction  
> because the GlobalTransactionData structure's first element was always  
> a PGPROC structure. However, in 9.2 this is no longer true.

Clearly an oversight in commit ed0b409d22346b1b027a4c2099ca66984d94b6dd
:-(.  Will fix, thanks for the report!
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Bug in libpq implentation and omission in documentation?
Следующее
От: Merlin Moncure
Дата:
Сообщение: Re: WIP patch for LATERAL subqueries