aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/clog.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2017-03-17 09:46:58 -0400
committerRobert Haas <rhaas@postgresql.org>2017-03-17 09:48:38 -0400
commit88e66d193fbaf756b3cc9bf94cad116aacbb355b (patch)
treecf470d1847bd229b74340223dba532d487d7b0b1 /src/backend/access/transam/clog.c
parentbd9028b824c9c5f97795bb6b7b6f5ce38eb69f98 (diff)
downloadpostgresql-88e66d193fbaf756b3cc9bf94cad116aacbb355b.tar.gz
postgresql-88e66d193fbaf756b3cc9bf94cad116aacbb355b.zip
Rename "pg_clog" directory to "pg_xact".
Names containing the letters "log" sometimes confuse users into believing that only non-critical data is present. It is hoped this renaming will discourage ill-considered removals of transaction status data. Michael Paquier Discussion: http://postgr.es/m/CA+Tgmoa9xFQyjRZupbdEFuwUerFTvC6HjZq1ud6GYragGDFFgA@mail.gmail.com
Diffstat (limited to 'src/backend/access/transam/clog.c')
-rw-r--r--src/backend/access/transam/clog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/access/transam/clog.c b/src/backend/access/transam/clog.c
index 1a43819736a..5b1d13dac1b 100644
--- a/src/backend/access/transam/clog.c
+++ b/src/backend/access/transam/clog.c
@@ -450,7 +450,7 @@ CLOGShmemInit(void)
{
ClogCtl->PagePrecedes = CLOGPagePrecedes;
SimpleLruInit(ClogCtl, "clog", CLOGShmemBuffers(), CLOG_LSNS_PER_PAGE,
- CLogControlLock, "pg_clog", LWTRANCHE_CLOG_BUFFERS);
+ CLogControlLock, "pg_xact", LWTRANCHE_CLOG_BUFFERS);
}
/*