From: Michael Paquier Date: Wed, 20 Nov 2019 08:48:31 +0000 (+0900) Subject: Fix comment in xact.h X-Git-Tag: REL_13_BETA1~1150 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f9cb8bd3f21719589e09bda33974d994551a63b7;p=thirdparty%2Fpostgresql.git 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 --- 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)