[pgpool-committers: 2728] pgpool: Fix segfalut that occurs when function is used in FROM clause
Yugo Nagata
nagata at sraoss.co.jp
Thu Oct 15 12:06:37 JST 2015
Fix segfalut that occurs when function is used in FROM clause
When a function is used in FROM, the parser makes a RangeFunction
node whose functions member is a list whose last element is NIL.
This caused segfault in foreach loop in _outListWith().
PRPARE statements in streaming-reaplication mode and INSERT/UPDATE
with SELECT in native-replication mode were affected. For example:
- prepare p as select * from generate_series(1,1);
- insert into tbl select now(), * from generate_series(1,1);
Branch
------
master
Details
-------
http://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=6f6f0bef4fd704b89c85543635753db21eac62a3
Modified Files
--------------
src/parser/outfuncs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
More information about the pgpool-committers
mailing list