1/*-------------------------------------------------------------------------
2 *
3 * pg_constraint_d.h
4 * Macro definitions for pg_constraint
5 *
6 * Portions Copyright (c) 1996-2019, PostgreSQL Global Development Group
7 * Portions Copyright (c) 1994, Regents of the University of California
8 *
9 * NOTES
10 * ******************************
11 * *** DO NOT EDIT THIS FILE! ***
12 * ******************************
13 *
14 * It has been GENERATED by src/backend/catalog/genbki.pl
15 *
16 *-------------------------------------------------------------------------
17 */
18#ifndef PG_CONSTRAINT_D_H
19#define PG_CONSTRAINT_D_H
20
21#define ConstraintRelationId 2606
22
23#define Anum_pg_constraint_oid 1
24#define Anum_pg_constraint_conname 2
25#define Anum_pg_constraint_connamespace 3
26#define Anum_pg_constraint_contype 4
27#define Anum_pg_constraint_condeferrable 5
28#define Anum_pg_constraint_condeferred 6
29#define Anum_pg_constraint_convalidated 7
30#define Anum_pg_constraint_conrelid 8
31#define Anum_pg_constraint_contypid 9
32#define Anum_pg_constraint_conindid 10
33#define Anum_pg_constraint_conparentid 11
34#define Anum_pg_constraint_confrelid 12
35#define Anum_pg_constraint_confupdtype 13
36#define Anum_pg_constraint_confdeltype 14
37#define Anum_pg_constraint_confmatchtype 15
38#define Anum_pg_constraint_conislocal 16
39#define Anum_pg_constraint_coninhcount 17
40#define Anum_pg_constraint_connoinherit 18
41#define Anum_pg_constraint_conkey 19
42#define Anum_pg_constraint_confkey 20
43#define Anum_pg_constraint_conpfeqop 21
44#define Anum_pg_constraint_conppeqop 22
45#define Anum_pg_constraint_conffeqop 23
46#define Anum_pg_constraint_conexclop 24
47#define Anum_pg_constraint_conbin 25
48
49#define Natts_pg_constraint 25
50
51
52/* Valid values for contype */
53#define CONSTRAINT_CHECK 'c'
54#define CONSTRAINT_FOREIGN 'f'
55#define CONSTRAINT_PRIMARY 'p'
56#define CONSTRAINT_UNIQUE 'u'
57#define CONSTRAINT_TRIGGER 't'
58#define CONSTRAINT_EXCLUSION 'x'
59
60/*
61 * Valid values for confupdtype and confdeltype are the FKCONSTR_ACTION_xxx
62 * constants defined in parsenodes.h. Valid values for confmatchtype are
63 * the FKCONSTR_MATCH_xxx constants defined in parsenodes.h.
64 */
65
66
67#endif /* PG_CONSTRAINT_D_H */
68