Skip to content

Commit f9cb8bd

Browse files
committed
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
1 parent 6969dee commit f9cb8bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/include/access/xact.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ typedef struct xl_xact_subxacts
239239

240240
typedef struct xl_xact_relfilenodes
241241
{
242-
int nrels; /* number of subtransaction XIDs */
242+
int nrels; /* number of relations */
243243
RelFileNode xnodes[FLEXIBLE_ARRAY_MEMBER];
244244
} xl_xact_relfilenodes;
245245
#define MinSizeOfXactRelfilenodes offsetof(xl_xact_relfilenodes, xnodes)

0 commit comments

Comments
 (0)