[Pgpool-hackers] Nasty bug with function_call_walker

Tatsuo Ishii ishii at sraoss.co.jp
Wed Jan 19 02:59:20 UTC 2011


Hi,

I have found a nasty bug with
function_call_walker(pool_select_walker.c). In 3.0 or later, it is
possible to find function calls in a raw parse tree using
function_call_walker. It always regarded the first element is the
function name, which is not true if the function has schema
qualification. In this case we should use lsecond() rather than
lfirst() to extract the function name because the first element is the
schema name. Back patched to 3.0-stable as well.
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese: http://www.sraoss.co.jp


More information about the Pgpool-hackers mailing list