Content-Length: 261222 | pFad | http://github.com/postgrespro/postgres_cluster/commit/591ccb66d24258f6d1084343b3c33c96e3e2b36d

A1 Fix outdated comment in lwlock.c · postgrespro/postgres_cluster@591ccb6 · GitHub
Skip to content

Commit 591ccb6

Browse files
committed
Fix outdated comment in lwlock.c
Commit 3761fe3 should have made this change, but didn't. Reported by Álvaro Herrera.
1 parent 93eb619 commit 591ccb6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/storage/lmgr/lwlock.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -581,8 +581,8 @@ LWLockNewTrancheId(void)
581581

582582
/*
583583
* Register a tranche ID in the lookup table for the current process. This
584-
* routine will save a pointer to the tranche object passed as an argument,
585-
* so that object should be allocated in a backend-lifetime context
584+
* routine will save a pointer to the tranche name passed as an argument,
585+
* so the name should be allocated in a backend-lifetime context
586586
* (TopMemoryContext, static variable, or similar).
587587
*/
588588
void

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/591ccb66d24258f6d1084343b3c33c96e3e2b36d

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy