diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2016-02-11 15:51:28 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2016-02-11 15:51:28 -0500 |
commit | 72eee410d48dfb4e6f3a0b751c4b0057ca8adc81 (patch) | |
tree | dd2f3dc56bcdeabf1630e78630e7d5214828b3d5 /src/backend/parser/parse_utilcmd.c | |
parent | 2564be360a1d25a4c66e7cd34997ab027e0ec9a8 (diff) | |
download | postgresql-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_utilcmd.c')
-rw-r--r-- | src/backend/parser/parse_utilcmd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/backend/parser/parse_utilcmd.c b/src/backend/parser/parse_utilcmd.c index a65b2977281..dc431c7de0c 100644 --- a/src/backend/parser/parse_utilcmd.c +++ b/src/backend/parser/parse_utilcmd.c @@ -36,6 +36,7 @@ #include "catalog/pg_am.h" #include "catalog/pg_collation.h" #include "catalog/pg_constraint.h" +#include "catalog/pg_constraint_fn.h" #include "catalog/pg_opclass.h" #include "catalog/pg_operator.h" #include "catalog/pg_type.h" |