From f9cb8bd3f21719589e09bda33974d994551a63b7 Mon Sep 17 00:00:00 2001 From: Michael Paquier Date: Wed, 20 Nov 2019 17:48:31 +0900 Subject: [PATCH] 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 --- src/include/access/xact.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)