postgrespro.git / summary / log / commit / refs
commit 8a0f0ad54047c8dc1430e521e2dc90f2cd138a9d
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: Wed May 15 21:26:52 2019 +0000
Remove no-longer-used typedef.
struct ClonedConstraint is no longer needed, so delete it.
Discussion: https://postgr.es/m/18102.1557947143@sss.pgh.pa.us
src/include/catalog/pg_constraint.h | 13 -------------
1 file changed, 13 deletions(-)
diff --git a/src/include/catalog/pg_constraint.h b/src/include/catalog/pg_constraint.h
index c87bdedbbb..5a969fc61e 100644
--- a/src/include/catalog/pg_constraint.h
+++ b/src/include/catalog/pg_constraint.h
@@ -182,19 +182,6 @@ typedef enum ConstraintCategory
CONSTRAINT_ASSERTION /* for future expansion */
} ConstraintCategory;
-/*
- * Used when cloning a foreign key constraint to a partition, so that the
- * caller can optionally set up a verification pass for it.
- */
-typedef struct ClonedConstraint
-{
- Oid relid;
- Oid refrelid;
- Oid conindid;
- Oid conid;
- Constraint *constraint;
-} ClonedConstraint;
-
extern Oid CreateConstraintEntry(const char *constraintName,
Oid constraintNamespace,
[parent: 7505da2f4597]