]> granicus.if.org Git - postgresql/commitdiff
Remove no-longer-used typedef.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 15 May 2019 21:26:52 +0000 (17:26 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 15 May 2019 21:26:52 +0000 (17:26 -0400)
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

index c87bdedbbbe91c51ea849bd415a9c9f8a47552f4..5a969fc61e5f14cb20a700130cd2e1e826eab22d 100644 (file)
@@ -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,