[COMMITTERS] pgsql: Initialize replication_slot_catalog_xmin in procarray - Mailing list pgsql-committers

From Peter Eisentraut
Subject [COMMITTERS] pgsql: Initialize replication_slot_catalog_xmin in procarray
Date
Msg-id E1dhmur-00056W-Fd@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Initialize replication_slot_catalog_xmin in procarray

Although not confirmed and probably rare, if the newly allocated memory
is not already zero, this could possibly have caused some problems.

Also reorder the initializations slightly so they match the order of the
struct definition.

Author: Wong, Yi Wen <yiwong@amazon.com>
Reviewed-by: Masahiko Sawada <sawada.mshk@gmail.com>

Branch
------
REL9_5_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/eff9ef73f823e3e59f34b85456242fad5967a847

Modified Files
--------------
src/backend/storage/ipc/procarray.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: [COMMITTERS] pgsql: doc: Document pg_receivewal exit behavior and status
Next
From: Peter Eisentraut
Date:
Subject: [COMMITTERS] pgsql: Fix up some misusage of appendStringInfo() and friends