git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 9194c42) | patch
Refactor duplicate code into DeconstructFkConstraintRow
2019年1月18日 17:40:13 +0000 (14:40 -0300)
2019年1月18日 17:59:44 +0000 (14:59 -0300)
commit 0080396dad4fe59a91f6d7e9c1f806affcfc68c3
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.
src/backend/catalog/pg_constraint.c diff | blob | blame | history
src/backend/utils/adt/ri_triggers.c diff | blob | blame | history
src/backend/utils/cache/relcache.c diff | blob | blame | history
src/include/catalog/pg_constraint.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /