pgsql: Improve ERROR/LOG messages added by commits ddd5f4f54a and 7a424

Поиск
Список
Период
Сортировка
От Amit Kapila
Тема pgsql: Improve ERROR/LOG messages added by commits ddd5f4f54a and 7a424
Дата
Msg-id E1rd298-0005ik-R4@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Improve ERROR/LOG messages added by commits ddd5f4f54a and 7a424ece48.

Additionally, in slotsync.c, replace one StringInfoData variable usage
with a constant string to avoid palloc/pfree. Also, replace the inclusion
of "logical.h" with "slot.h" to prevent the exposure of unnecessary
implementation details.

Reported-by: Kyotaro Horiguchi, Masahiko Sawada
Author: Shveta Malik based on suggestions by Robert Haas and Amit Kapila
Reviewed-by: Kyotaro Horiguchi, Amit Kapila
Discussion: https://postgr.es/m/20240214.162652.773291409747353211.horikyota.ntt@gmail.com
Discussion: https://postgr.es/m/20240219.134015.1888940527023074780.horikyota.ntt@gmail.com
Discussion: https://postgr.es/m/CAD21AoCYXhDYOQDAS-rhGasC2T+tYbV=8Y18o94sB=5AxcW+yA@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/801792e528d6cb5eeb3a70f5ceb10b15bf92f0c7

Modified Files
--------------
src/backend/replication/logical/slotsync.c         | 65 +++++++++-------------
.../recovery/t/040_standby_failover_slots_sync.pl  |  2 +-
2 files changed, 28 insertions(+), 39 deletions(-)


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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: pgsql: Speed up uuid_out() by not relying on a StringInfo
Следующее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Remove custom Constraint node read/write implementations