Re: 9.0beta2 - server crash when using HS + SR

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: 9.0beta2 - server crash when using HS + SR
Дата
Msg-id 13097.1277918847@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: 9.0beta2 - server crash when using HS + SR  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: 9.0beta2 - server crash when using HS + SR  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
Bruce Momjian <bruce@momjian.us> writes:
> The attached patch shows the hint only during recovery.

BTW, it would be easier and more consistent with the rest of the code to
look at InRecovery, instead of messing around with the function
signature.  And the usual way to emit a hint conditionally is
(InRecovery ? errhint(...) : 0)

rather than duplicate a lot of surrounding code.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: 9.0beta2 - server crash when using HS + SR
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: Check constraints on non-immutable keys