diff options
| author | Peter Eisentraut | 2022-07-08 07:22:27 +0000 |
|---|---|---|
| committer | Peter Eisentraut | 2022-07-08 07:22:27 +0000 |
| commit | 3140f089855c03035ee354aa115618068f8d0206 (patch) | |
| tree | 4b9ff0da64d968f57a330844a88b5bfaca86ad30 /src/include/utils | |
| parent | 0ad5b48e58945e88b71eb5932d0c003a95def6ea (diff) | |
Reformat some more node comments
Reformat some more comments in node field definitions to avoid long
lines. Similar to 835d476fd21bcfb60b055941dee8c3d9559af14c, based on
additional per-field annotations that will be required.
Discussion: https://www.postgresql.org/message-id/c5906b07-220a-a3d4-8ff3-8ee593009424@enterprisedb.com
Diffstat (limited to 'src/include/utils')
| -rw-r--r-- | src/include/utils/rel.h | 26 |
1 files changed, 18 insertions, 8 deletions
diff --git a/src/include/utils/rel.h b/src/include/utils/rel.h index 8231fba9a3d..b741105d1e2 100644 --- a/src/include/utils/rel.h +++ b/src/include/utils/rel.h @@ -269,14 +269,24 @@ typedef struct RelationData typedef struct ForeignKeyCacheInfo { NodeTag type; - Oid conoid; /* oid of the constraint itself */ - Oid conrelid; /* relation constrained by the foreign key */ - Oid confrelid; /* relation referenced by the foreign key */ - int nkeys; /* number of columns in the foreign key */ - /* these arrays each have nkeys valid entries: */ - AttrNumber conkey[INDEX_MAX_KEYS]; /* cols in referencing table */ - AttrNumber confkey[INDEX_MAX_KEYS]; /* cols in referenced table */ - Oid conpfeqop[INDEX_MAX_KEYS]; /* PK = FK operator OIDs */ + /* oid of the constraint itself */ + Oid conoid; + /* relation constrained by the foreign key */ + Oid conrelid; + /* relation referenced by the foreign key */ + Oid confrelid; + /* number of columns in the foreign key */ + int nkeys; + + /* + * these arrays each have nkeys valid entries: + */ + /* cols in referencing table */ + AttrNumber conkey[INDEX_MAX_KEYS]; + /* cols in referenced table */ + AttrNumber confkey[INDEX_MAX_KEYS]; + /* PK = FK operator OIDs */ + Oid conpfeqop[INDEX_MAX_KEYS]; } ForeignKeyCacheInfo; |
