pgsql: Fail BRIN control functions during recovery explicitly

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема pgsql: Fail BRIN control functions during recovery explicitly
Дата
Msg-id E1fTVup-0001Mq-A6@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fail BRIN control functions during recovery explicitly

They already fail anyway, but prior to this patch they raise an ugly
error message about a lock that cannot be acquired.  This just improves
the message.

Author: Masahiko Sawada
Reported-by: Masahiko Sawada
Discussion: https://postgr.es/m/CAD21AoBZau4g4_NUf3BKNd=CdYK+xaPdtJCzvOC1TxGdTiJx_Q@mail.gmail.com
Reviewed-by: Kuntal Ghosh, Alexander Korotkov, Simon Riggs, Michaël Paquier, Álvaro Herrera

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/3b5f4f1f40b241d08ed36df1716e07a6b0560e5c

Modified Files
--------------
src/backend/access/brin/brin.c | 12 ++++++++++++
1 file changed, 12 insertions(+)


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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: pgsql: Remove spurious code comments in standby related code
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: pgsql: Convert debug message from ereport to elog