Skip to content

Commit 1baf0df

Browse files
committed
Merge branch 'CORE-155-covering-indexes' into localpgpro9_5
2 parents 72b4f2a + 83cb1f1 commit 1baf0df

File tree

1 file changed

+15
-14
lines changed

1 file changed

+15
-14
lines changed

src/include/catalog/pg_constraint.h

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -100,12 +100,6 @@ CATALOG(pg_constraint,2606)
100100
*/
101101
int16 conkey[1];
102102

103-
/*
104-
* Columns of conrelid that the constraint does not apply to,
105-
* but included into the same index with key columns.
106-
*/
107-
int16 conincluding[1];
108-
109103
/*
110104
* If a foreign key, the referenced columns of confrelid
111105
*/
@@ -144,6 +138,12 @@ CATALOG(pg_constraint,2606)
144138
* If a check constraint, source-text representation of expression
145139
*/
146140
text consrc;
141+
142+
/*
143+
* Columns of conrelid that the constraint does not apply to,
144+
* but included into the same index with key columns.
145+
*/
146+
int16 conincluding[1];
147147
#endif
148148
} FormData_pg_constraint;
149149

@@ -176,14 +176,15 @@ typedef FormData_pg_constraint *Form_pg_constraint;
176176
#define Anum_pg_constraint_coninhcount 15
177177
#define Anum_pg_constraint_connoinherit 16
178178
#define Anum_pg_constraint_conkey 17
179-
#define Anum_pg_constraint_conincluding 18
180-
#define Anum_pg_constraint_confkey 19
181-
#define Anum_pg_constraint_conpfeqop 20
182-
#define Anum_pg_constraint_conppeqop 21
183-
#define Anum_pg_constraint_conffeqop 22
184-
#define Anum_pg_constraint_conexclop 23
185-
#define Anum_pg_constraint_conbin 24
186-
#define Anum_pg_constraint_consrc 25
179+
#define Anum_pg_constraint_confkey 18
180+
#define Anum_pg_constraint_conpfeqop 19
181+
#define Anum_pg_constraint_conppeqop 20
182+
#define Anum_pg_constraint_conffeqop 21
183+
#define Anum_pg_constraint_conexclop 22
184+
#define Anum_pg_constraint_conbin 23
185+
#define Anum_pg_constraint_consrc 24
186+
#define Anum_pg_constraint_conincluding 25
187+
187188

188189

189190
/* Valid values for contype */

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy