diff options
author | Robert Haas <rhaas@postgresql.org> | 2016-02-12 08:07:11 -0500 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2016-02-12 08:07:11 -0500 |
commit | 63461a63f94a333eae272be3d44ae1602cda75cb (patch) | |
tree | b76c93a66ce9731271365350ff0bec7fc838a7ac /src/backend/storage/buffer/buf_init.c | |
parent | caefc11ef6613683ddf8ded2081da3db238f463e (diff) | |
download | postgresql-63461a63f94a333eae272be3d44ae1602cda75cb.tar.gz postgresql-63461a63f94a333eae272be3d44ae1602cda75cb.zip |
Make builtin lwlock tranche names consistent.
Previously, we had a mix of styles.
Amit Kapila
Diffstat (limited to 'src/backend/storage/buffer/buf_init.c')
-rw-r--r-- | src/backend/storage/buffer/buf_init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/storage/buffer/buf_init.c b/src/backend/storage/buffer/buf_init.c index b423aa74609..f013a4d9581 100644 --- a/src/backend/storage/buffer/buf_init.c +++ b/src/backend/storage/buffer/buf_init.c @@ -90,13 +90,13 @@ InitBufferPool(void) + PG_CACHE_LINE_SIZE, &foundIOLocks)); - BufferIOLWLockTranche.name = "Buffer IO Locks"; + BufferIOLWLockTranche.name = "buffer_io"; BufferIOLWLockTranche.array_base = BufferIOLWLockArray; BufferIOLWLockTranche.array_stride = sizeof(LWLockMinimallyPadded); LWLockRegisterTranche(LWTRANCHE_BUFFER_IO_IN_PROGRESS, &BufferIOLWLockTranche); - BufferContentLWLockTranche.name = "Buffer Content Locks"; + BufferContentLWLockTranche.name = "buffer_content"; BufferContentLWLockTranche.array_base = ((char *) BufferDescriptors) + offsetof(BufferDesc, content_lock); BufferContentLWLockTranche.array_stride = sizeof(BufferDescPadded); |