[pgpool-committers: 2727] 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 _outList().
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
------
V3_4_STABLE
Details
-------
http://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=eefef9b1382001a14b301036a4f3c43620cdba77
Modified Files
--------------
src/parser/outfuncs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
More information about the pgpool-committers
mailing list