From 96b00c433cd615144a34ff1a79d691d8b297120d Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Sat, 27 Oct 2018 11:45:50 +0100 Subject: Remove obsolete pg_constraint.consrc column This has been deprecated and effectively unused for a long time. Reviewed-by: Daniel Gustafsson --- src/include/catalog/catversion.h | 2 +- src/include/catalog/pg_constraint.h | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) (limited to 'src/include') diff --git a/src/include/catalog/catversion.h b/src/include/catalog/catversion.h index 8e92b287cc2..17f8e3005a0 100644 --- a/src/include/catalog/catversion.h +++ b/src/include/catalog/catversion.h @@ -53,6 +53,6 @@ */ /* yyyymmddN */ -#define CATALOG_VERSION_NO 201811011 +#define CATALOG_VERSION_NO 201811012 #endif diff --git a/src/include/catalog/pg_constraint.h b/src/include/catalog/pg_constraint.h index 66b3f13f74a..630cabe0b8f 100644 --- a/src/include/catalog/pg_constraint.h +++ b/src/include/catalog/pg_constraint.h @@ -142,11 +142,6 @@ CATALOG(pg_constraint,2606,ConstraintRelationId) * If a check constraint, nodeToString representation of expression */ pg_node_tree conbin; - - /* - * If a check constraint, source-text representation of expression - */ - text consrc; #endif } FormData_pg_constraint; @@ -224,7 +219,6 @@ extern Oid CreateConstraintEntry(const char *constraintName, const Oid *exclOp, Node *conExpr, const char *conBin, - const char *conSrc, bool conIsLocal, int conInhCount, bool conNoInherit, -- cgit v1.2.3