From 72eee410d48dfb4e6f3a0b751c4b0057ca8adc81 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Thu, 11 Feb 2016 15:51:28 -0500 Subject: Move pg_constraint.h function declarations to new file pg_constraint_fn.h. A pending patch requires exporting a function returning Bitmapset from catalog/pg_constraint.c. As things stand, that would mean including nodes/bitmapset.h in pg_constraint.h, which might be hazardous for the client-side includability of that header. It's not entirely clear whether any client-side code needs to include pg_constraint.h, but it seems prudent to assume that there is some such code somewhere. Therefore, split off the function definitions into a new file pg_constraint_fn.h, similarly to what we've done for some other catalog header files. --- src/backend/parser/parse_agg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/backend/parser/parse_agg.c') diff --git a/src/backend/parser/parse_agg.c b/src/backend/parser/parse_agg.c index b790bb27c5d..b109ea5ba69 100644 --- a/src/backend/parser/parse_agg.c +++ b/src/backend/parser/parse_agg.c @@ -15,7 +15,7 @@ #include "postgres.h" #include "catalog/pg_aggregate.h" -#include "catalog/pg_constraint.h" +#include "catalog/pg_constraint_fn.h" #include "catalog/pg_type.h" #include "nodes/makefuncs.h" #include "nodes/nodeFuncs.h" -- cgit v1.2.3