[COMMITTERS] pgsql: Fix possible null pointer dereference or invalid warningmessage

Поиск
Список
Период
Сортировка
От Tom Lane
Тема [COMMITTERS] pgsql: Fix possible null pointer dereference or invalid warningmessage
Дата
Msg-id E1d4rat-000716-Ei@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix possible null pointer dereference or invalid warning message.

Thinko in commit de4389712: this warning message references the wrong
"LogicalRepWorker *" variable.  This would often result in a core dump,
but if it didn't, the message would show the wrong subscription OID.

In passing, adjust the message text to format a subscription OID
similarly to how that's done elsewhere in the function; and fix
grammatical issues in some nearby messages.

Per Coverity testing.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/12d11432b4db8a2ae665287e05f0f6868d35545e

Modified Files
--------------
src/backend/replication/logical/launcher.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: [COMMITTERS] pgsql: Micro-optimize some slower queries in the opr_sanityregression
Следующее
От: Tom Lane
Дата:
Сообщение: [COMMITTERS] pgsql: Sync our copy of the timezone library with IANA releasetzcode20