Обсуждение: [COMMITTERS] pgsql: Initialize replication_slot_catalog_xmin in procarray

Поиск
Список
Период
Сортировка

[COMMITTERS] pgsql: Initialize replication_slot_catalog_xmin in procarray

От
Peter Eisentraut
Дата:
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_6_STABLE

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

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