Fix incorrect initialization of ProcGlobal->startupBufferPinWaitBufId.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 0dd6a09e3d127e728b9f43cfaf19e5351f60a096
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2011-08-02T17:24:00Z
Releases: 9.1.0
Fix incorrect initialization of ProcGlobal->startupBufferPinWaitBufId.

It was initialized in the wrong place and to the wrong value.  With bad
luck this could result in incorrect query-cancellation failures in hot
standby sessions, should a HS backend be holding pin on buffer number 1
while trying to acquire a lock.

Files