[COMMITTERS] pgsql: Fix failure due to accessing an already-freed tuple descriptor in

2006-12-26 Thread Tom Lane
Log Message: --- Fix failure due to accessing an already-freed tuple descriptor in a plan involving HashAggregate over SubqueryScan (this is the known case, there may well be more). The bug is only latent in releases before 8.2 since they didn't try to access tupletable slots' descriptors

[COMMITTERS] pgsql: Fix failure due to accessing an already-freed tuple descriptor in

2006-12-26 Thread Tom Lane
Log Message: --- Fix failure due to accessing an already-freed tuple descriptor in a plan involving HashAggregate over SubqueryScan (this is the known case, there may well be more). The bug is only latent in releases before 8.2 since they didn't try to access tupletable slots' descriptors

[COMMITTERS] pgsql: Repair bug #2839: the various ExecReScan functions need to reset

2006-12-26 Thread Tom Lane
Log Message: --- Repair bug #2839: the various ExecReScan functions need to reset ps_TupFromTlist in plan nodes that make use of it. This was being done correctly in join nodes and Result nodes but not in any relation-scan nodes. Bug would lead to bogus results if a set-returning function

[COMMITTERS] pgsql: Repair bug #2839: the various ExecReScan functions need to reset

2006-12-26 Thread Tom Lane
Log Message: --- Repair bug #2839: the various ExecReScan functions need to reset ps_TupFromTlist in plan nodes that make use of it. This was being done correctly in join nodes and Result nodes but not in any relation-scan nodes. Bug would lead to bogus results if a set-returning function

[COMMITTERS] pgsql: Repair bug #2839: the various ExecReScan functions need to reset

2006-12-26 Thread Tom Lane
Log Message: --- Repair bug #2839: the various ExecReScan functions need to reset ps_TupFromTlist in plan nodes that make use of it. This was being done correctly in join nodes and Result nodes but not in any relation-scan nodes. Bug would lead to bogus results if a set-returning function

[COMMITTERS] pgsql: Repair bug #2839: the various ExecReScan functions need to reset

2006-12-26 Thread Tom Lane
Log Message: --- Repair bug #2839: the various ExecReScan functions need to reset ps_TupFromTlist in plan nodes that make use of it. This was being done correctly in join nodes and Result nodes but not in any relation-scan nodes. Bug would lead to bogus results if a set-returning function

[COMMITTERS] pgsql: Repair bug #2839: the various ExecReScan functions need to reset

2006-12-26 Thread Tom Lane
Log Message: --- Repair bug #2839: the various ExecReScan functions need to reset ps_TupFromTlist in plan nodes that make use of it. This was being done correctly in join nodes and Result nodes but not in any relation-scan nodes. Bug would lead to bogus results if a set-returning function

[COMMITTERS] pgsql: Repair bug #2839: the various ExecReScan functions need to reset

2006-12-26 Thread Tom Lane
Log Message: --- Repair bug #2839: the various ExecReScan functions need to reset ps_TupFromTlist in plan nodes that make use of it. This was being done correctly in join nodes and Result nodes but not in any relation-scan nodes. Bug would lead to bogus results if a set-returning function

[COMMITTERS] pgsql: Repair bug #2836: SPI_execute_plan returned zero if none of the

2006-12-26 Thread Tom Lane
Log Message: --- Repair bug #2836: SPI_execute_plan returned zero if none of the querytrees were marked canSetTag. While it's certainly correct to return the result of the last one that is marked canSetTag, it's less clear what to do when none of them are. Since plpgsql will complain if z

[COMMITTERS] pgsql: Repair bug #2836: SPI_execute_plan returned zero if none of the

2006-12-26 Thread Tom Lane
Log Message: --- Repair bug #2836: SPI_execute_plan returned zero if none of the querytrees were marked canSetTag. While it's certainly correct to return the result of the last one that is marked canSetTag, it's less clear what to do when none of them are. Since plpgsql will complain if z

[COMMITTERS] pgsql: Remove incorrect semicolon in example.

2006-12-26 Thread Tom Lane
Log Message: --- Remove incorrect semicolon in example. Joachim Wieland Modified Files: -- pgsql/doc/src/sgml: plpgsql.sgml (r1.101 -> r1.102) (http://developer.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/plpgsql.sgml.diff?r1=1.101&r2=1.102)

[COMMITTERS] pgsql: Fix memory reallocation condition

2006-12-26 Thread Teodor Sigaev
Log Message: --- Fix memory reallocation condition Tags: REL8_2_STABLE Modified Files: -- pgsql/contrib/tsearch2: dict_thesaurus.c (r1.6 -> r1.6.2.1) (http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/dict_thesaurus.c.diff?r1=1.6&r2=1.

[COMMITTERS] pgsql: Fix memory reallocation condition

2006-12-26 Thread Teodor Sigaev
Log Message: --- Fix memory reallocation condition Modified Files: -- pgsql/contrib/tsearch2: dict_thesaurus.c (r1.6 -> r1.7) (http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/dict_thesaurus.c.diff?r1=1.6&r2=1.7) --