diff options
Diffstat (limited to 'src/backend/storage/lmgr/proc.c')
-rw-r--r-- | src/backend/storage/lmgr/proc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/storage/lmgr/proc.c b/src/backend/storage/lmgr/proc.c index 5aa19d3f781..f5eef6fa4ee 100644 --- a/src/backend/storage/lmgr/proc.c +++ b/src/backend/storage/lmgr/proc.c @@ -221,7 +221,7 @@ InitProcGlobal(void) /* Common initialization for all PGPROCs, regardless of type. */ /* - * Set up per-PGPROC semaphore, latch, and backendLock. Prepared xact + * Set up per-PGPROC semaphore, latch, and fpInfoLock. Prepared xact * dummy PGPROCs don't need these though - they're never associated * with a real process */ @@ -229,7 +229,7 @@ InitProcGlobal(void) { procs[i].sem = PGSemaphoreCreate(); InitSharedLatch(&(procs[i].procLatch)); - LWLockInitialize(&(procs[i].backendLock), LWTRANCHE_PROC); + LWLockInitialize(&(procs[i].fpInfoLock), LWTRANCHE_LOCK_FASTPATH); } procs[i].pgprocno = i; |