mirror of
https://github.com/postgres/postgres.git
synced 2025-04-21 12:05:57 +03:00
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
This commit is contained in:
parent
6969deeb8d
commit
f9cb8bd3f2
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user