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:59:44 -0300 |
commit | 0080396dad4fe59a91f6d7e9c1f806affcfc68c3 (patch) | |
tree | ba3f39628888a2abc16f848f10e4f41d35bcf503 /src/backend/commands/tablecmds.c | |
parent | 9194c4270b28bb19b43a0156e5a296d1a0a3dd48 (diff) | |
download | postgresql-0080396dad4fe59a91f6d7e9c1f806affcfc68c3.tar.gz postgresql-0080396dad4fe59a91f6d7e9c1f806affcfc68c3.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/commands/tablecmds.c')
0 files changed, 0 insertions, 0 deletions