Initialize replication_slot_catalog_xmin in procarray

Peter Eisentraut <peter_e@gmx.net>

Commit: eff9ef73f823e3e59f34b85456242fad5967a847
Author: Peter Eisentraut <peter_e@gmx.net>
Date: 2017-08-16T01:06:22Z
Releases: 9.5.9
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>

Files

PathChange+/−
src/backend/storage/ipc/procarray.c modified +2 −1