diff options
author | Michael Paquier <michael@paquier.xyz> | 2019-11-20 17:48:31 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2019-11-20 17:48:31 +0900 |
commit | f9cb8bd3f21719589e09bda33974d994551a63b7 (patch) | |
tree | fa4af35a6a74ff389b136cd926e326ba292d89c9 | |
parent | 6969deeb8d3991cc533a5bcf451ae5eecaa9a517 (diff) | |
download | postgresql-f9cb8bd3f21719589e09bda33974d994551a63b7.tar.gz postgresql-f9cb8bd3f21719589e09bda33974d994551a63b7.zip |
Fix comment in xact.h
xl_xact_relfilenodes refers to a number of relations, not XIDs, whose
relfilenodes are processed.
Author: Yu Kimura
Discussion: https://postgr.es/m/a6ba6cf6bd0c990e019f008bae83437f@oss.nttdata.com
-rw-r--r-- | src/include/access/xact.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/access/xact.h b/src/include/access/xact.h index 42b76cb4dd3..9d2899dea17 100644 --- a/src/include/access/xact.h +++ b/src/include/access/xact.h @@ -239,7 +239,7 @@ typedef struct xl_xact_subxacts typedef struct xl_xact_relfilenodes { - int nrels; /* number of subtransaction XIDs */ + int nrels; /* number of relations */ RelFileNode xnodes[FLEXIBLE_ARRAY_MEMBER]; } xl_xact_relfilenodes; #define MinSizeOfXactRelfilenodes offsetof(xl_xact_relfilenodes, xnodes) |