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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: c432061) | patch
Fix a thinko in my patch of a couple months ago for bug #3116: it did the
Tue, 1 May 2007 18:53:52 +0000 (18:53 +0000)
Tue, 1 May 2007 18:53:52 +0000 (18:53 +0000)
commit b4349519c178b2b46cc42872a28d896291b6464e
Fix a thinko in my patch of a couple months ago for bug #3116: it did the
wrong thing when inlining polymorphic SQL functions, because it was using the
function's declared return type where it should have used the actual result
type of the current call. In 8.1 and 8.2 this causes obvious failures even if
you don't have assertions turned on; in 8.0 and 7.4 it would only be a problem
if the inlined expression were used as an input to a function that did
run-time type determination on its inputs. Add a regression test, since this
is evidently an under-tested area.
src/backend/optimizer/util/clauses.c diff | blob | blame | history
src/test/regress/expected/polymorphism.out diff | blob | blame | history
src/test/regress/sql/polymorphism.sql diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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