aboutsummaryrefslogtreecommitdiff
path: root/src/backend/parser/parse_clause.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2016-02-11 15:51:28 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2016-02-11 15:51:28 -0500
commit72eee410d48dfb4e6f3a0b751c4b0057ca8adc81 (patch)
treedd2f3dc56bcdeabf1630e78630e7d5214828b3d5 /src/backend/parser/parse_clause.c
parent2564be360a1d25a4c66e7cd34997ab027e0ec9a8 (diff)
downloadpostgresql-72eee410d48dfb4e6f3a0b751c4b0057ca8adc81.tar.gz
postgresql-72eee410d48dfb4e6f3a0b751c4b0057ca8adc81.zip
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.
Diffstat (limited to 'src/backend/parser/parse_clause.c')
-rw-r--r--src/backend/parser/parse_clause.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/parser/parse_clause.c b/src/backend/parser/parse_clause.c
index 7ea455cf043..04fa1271c80 100644
--- a/src/backend/parser/parse_clause.c
+++ b/src/backend/parser/parse_clause.c
@@ -22,7 +22,7 @@
#include "catalog/catalog.h"
#include "catalog/heap.h"
#include "catalog/pg_am.h"
-#include "catalog/pg_constraint.h"
+#include "catalog/pg_constraint_fn.h"
#include "catalog/pg_type.h"
#include "commands/defrem.h"
#include "nodes/makefuncs.h"