diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2019-01-18 14:40:13 -0300 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2019-01-18 14:57:49 -0300 |
commit | e974f223abb473ba62577261378ca740c641814f (patch) | |
tree | b03988ad9fa3ed2d9665e4e1f353070143b65016 /src/backend/executor/nodeModifyTable.c | |
parent | 3daac78d983f7be1c824ce625c8e92f42ebf41fe (diff) | |
download | postgresql-e974f223abb473ba62577261378ca740c641814f.tar.gz postgresql-e974f223abb473ba62577261378ca740c641814f.zip |
Refactor duplicate code into DeconstructFkConstraintRow
My commit 3de241dba86f introduced some code (in tablecmds.c) to obtain
data from a pg_constraint row for a foreign key, that already existed in
ri_triggers.c. Split it out into its own routine in pg_constraint.c,
where it naturally belongs.
No functional code changes, only code movement.
Backpatch to pg11, because a future bugfix is simpler after this.
Diffstat (limited to 'src/backend/executor/nodeModifyTable.c')
0 files changed, 0 insertions, 0 deletions