aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2019-05-15 17:26:52 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2019-05-15 17:26:52 -0400
commit8a0f0ad54047c8dc1430e521e2dc90f2cd138a9d (patch)
tree5f84ab8d047bc027a37c8ba0db1f0a69811d83a7
parent7505da2f459776a397177f7d591991f5591c2812 (diff)
downloadpostgresql-8a0f0ad54047c8dc1430e521e2dc90f2cd138a9d.tar.gz
postgresql-8a0f0ad54047c8dc1430e521e2dc90f2cd138a9d.zip
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
-rw-r--r--src/include/catalog/pg_constraint.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/include/catalog/pg_constraint.h b/src/include/catalog/pg_constraint.h
index c87bdedbbbe..5a969fc61e5 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,