]> granicus.if.org Git - postgresql/commit
Initialize replication_slot_catalog_xmin in procarray
authorPeter Eisentraut <peter_e@gmx.net>
Wed, 16 Aug 2017 01:05:21 +0000 (21:05 -0400)
committerPeter Eisentraut <peter_e@gmx.net>
Wed, 16 Aug 2017 01:06:11 +0000 (21:06 -0400)
commitd01fc51c003ce6e7b0ac96204a1d82f1ba505b70
treea6e8847389f5dd52f46aeda45f93c035455d9706
parentdce90c7c8c011c2214f53d12b877bf5fcf9ecdd9
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>
src/backend/storage/ipc/procarray.c