Commit f9cb8bd3 authored by Michael Paquier's avatar Michael Paquier

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
parent 6969deeb
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment