From 8a0f0ad54047c8dc1430e521e2dc90f2cd138a9d Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Wed, 15 May 2019 17:26:52 -0400 Subject: [PATCH] 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, -- 2.40.0