Re: Assertion failure on hot standby

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Assertion failure on hot standby
Дата
Msg-id 28739.1290751902@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Assertion failure on hot standby  (Simon Riggs <simon@2ndQuadrant.com>)
Ответы Re: Assertion failure on hot standby  (Robert Haas <robertmhaas@gmail.com>)
Re: Assertion failure on hot standby  (Simon Riggs <simon@2ndQuadrant.com>)
Список pgsql-hackers
Simon Riggs <simon@2ndQuadrant.com> writes:
> That would mean running GetCurrentTransactionId() inside LockAcquire()

> if (lockmode >= AccessExclusiveLock &&
>     locktag->locktag_type == LOCKTAG_RELATION &&
>     !RecoveryInProgress())
>     (void) GetCurrentTransactionId();

> Any objections to that fix?

Could we have a wal level test in there too please?  It's pretty awful
in any case...
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [JDBC] JDBC and Binary protocol error, for some statements
Следующее
От: Radosław Smogura
Дата:
Сообщение: Re: [JDBC] JDBC and Binary protocol error, for some statements