]> granicus.if.org Git - postgresql/commit
Move pg_constraint.h function declarations to new file pg_constraint_fn.h.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 11 Feb 2016 20:51:28 +0000 (15:51 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 11 Feb 2016 20:51:28 +0000 (15:51 -0500)
commit72eee410d48dfb4e6f3a0b751c4b0057ca8adc81
treedd2f3dc56bcdeabf1630e78630e7d5214828b3d5
parent2564be360a1d25a4c66e7cd34997ab027e0ec9a8
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.
13 files changed:
src/backend/catalog/dependency.c
src/backend/catalog/heap.c
src/backend/catalog/index.c
src/backend/catalog/objectaddress.c
src/backend/catalog/pg_constraint.c
src/backend/commands/tablecmds.c
src/backend/commands/trigger.c
src/backend/commands/typecmds.c
src/backend/parser/parse_agg.c
src/backend/parser/parse_clause.c
src/backend/parser/parse_utilcmd.c
src/include/catalog/pg_constraint.h
src/include/catalog/pg_constraint_fn.h [new file with mode: 0644]