*** src/backend/storage/ipc/procarray.c.org 2013-04-02 03:23:05.000000000 +0900 --- src/backend/storage/ipc/procarray.c.new 2013-08-22 19:59:35.000000000 +0900 *************** *** 2418,2423 **** --- 2418,2433 ---- xid, latestObservedXid); /* + * Extend clog and subtrans like we do in GetNewTransactionId(). + * It is nesscessary even if when standbyState is STANDBY_INITIALIZED. + */ + if (standbyState == STANDBY_INITIALIZED) + { + ExtendCLOG(xid); + ExtendSUBTRANS(xid); + } + + /* * If the KnownAssignedXids machinery isn't up yet, do nothing. */ if (standbyState <= STANDBY_INITIALIZED)