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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: bbc0483) | patch
Remove typeidIsValid() checks in can_coerce_type(). These checks
2005年5月29日 18:24:14 +0000 (18:24 +0000)
2005年5月29日 18:24:14 +0000 (18:24 +0000)
commit d66daabec948df2a332a9b48ec5aa49145170d80
Remove typeidIsValid() checks in can_coerce_type(). These checks
were pretty expensive and I believe the case they were put in to
defend against can no longer arise, now that we have dependency checks
to prevent deletion of a type entry that is still referenced. Certainly
the example given in the CVS log entry can't happen anymore.
Since this was the only use of typeidIsValid(), remove the routine too.
src/backend/parser/parse_coerce.c diff | blob | blame | history
src/backend/parser/parse_type.c diff | blob | blame | history
src/include/parser/parse_type.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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