git.postgresql.org Git - postgresql.git/commit
2010年8月18日 12:20:15 +0000 (12:20 +0000)
2010年8月18日 12:20:15 +0000 (12:20 +0000)
commit ef71375346f8eba52ab3ec8b360869f859c83f3e
Coerce 'unknown' type parameters to the right type in the fixed-params
parse_analyze() function. That case occurs e.g with PL/pgSQL
EXECUTE ... USING 'stringconstant'.
The coercion with a CoerceViaIO node. The result is similar to the coercion
via input function performed for unknown constants in coerce_type(),
except that this happens at runtime.
Backpatch to 9.0. The issue is present in 8.4 as well, but the coerce param
hook infrastructure this patch relies on was introduced in 9.0. Given the
lack of user reports and harmlessness of the bug, it's not worth attempting
a different fix just for 8.4.
This is the main PostgreSQL git repository.
RSS
Atom