diff options
author | Robert Haas <rhaas@postgresql.org> | 2017-03-17 09:46:58 -0400 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2017-03-17 09:48:38 -0400 |
commit | 88e66d193fbaf756b3cc9bf94cad116aacbb355b (patch) | |
tree | cf470d1847bd229b74340223dba532d487d7b0b1 /src/backend/access/heap/heapam.c | |
parent | bd9028b824c9c5f97795bb6b7b6f5ce38eb69f98 (diff) | |
download | postgresql-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/heap/heapam.c')
-rw-r--r-- | src/backend/access/heap/heapam.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/access/heap/heapam.c b/src/backend/access/heap/heapam.c index bffc971d689..85261379b1f 100644 --- a/src/backend/access/heap/heapam.c +++ b/src/backend/access/heap/heapam.c @@ -6790,8 +6790,8 @@ heap_prepare_freeze_tuple(HeapTupleHeader tuple, TransactionId cutoff_xid, * Note: it might seem we could make the changes without exclusive lock, since * TransactionId read/write is assumed atomic anyway. However there is a race * condition: someone who just fetched an old XID that we overwrite here could - * conceivably not finish checking the XID against pg_clog before we finish - * the VACUUM and perhaps truncate off the part of pg_clog he needs. Getting + * conceivably not finish checking the XID against pg_xact before we finish + * the VACUUM and perhaps truncate off the part of pg_xact he needs. Getting * exclusive lock ensures no other backend is in process of checking the * tuple status. Also, getting exclusive lock makes it safe to adjust the * infomask bits. |