]> 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:05:59 +0000 (21:05 -0400)
commit226be4062865476d190701d6ac13082a0595121e
tree1d2ca5c094acff568766814b017fb854dfc70d15
parent3ea58216de4b26e27be8c6b23e44e275804542f2
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