diff options
author | Alvaro Herrera | 2018-04-04 17:02:31 +0000 |
---|---|---|
committer | Alvaro Herrera | 2018-04-04 17:02:49 +0000 |
commit | 3de241dba86f3dd000434f70aebba725fb928032 (patch) | |
tree | d1b51460c68819fa8e9e73c000f7b48492b94823 /src/include/commands | |
parent | 857f9c36cda520030381bd8c2af20adf0ce0e1d4 (diff) |
Foreign keys on partitioned tables
Author: Álvaro Herrera
Discussion: https://postgr.es/m/[email protected]
Reviewed-by: Peter Eisentraut
Diffstat (limited to 'src/include/commands')
-rw-r--r-- | src/include/commands/tablecmds.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/commands/tablecmds.h b/src/include/commands/tablecmds.h index 06e5180a305..04a961d3835 100644 --- a/src/include/commands/tablecmds.h +++ b/src/include/commands/tablecmds.h @@ -74,6 +74,10 @@ extern void find_composite_type_dependencies(Oid typeOid, extern void check_of_type(HeapTuple typetuple); +extern void createForeignKeyTriggers(Relation rel, Oid refRelOid, + Constraint *fkconstraint, Oid constraintOid, + Oid indexOid, bool create_action); + extern void register_on_commit_action(Oid relid, OnCommitAction action); extern void remove_on_commit_action(Oid relid); |