Re: [COMMITTERS] pgsql: Fix planning of SubLinks to ensure that

2006-12-07 Thread Andrew Dunstan
Tom Lane wrote: > Log Message: > --- > Fix planning of SubLinks to ensure that Vars generated from transformation > of > a sublink's test expression have the correct vartypmod, rather than > defaulting > to -1. There's at least one place where this is important because we're > expecting th

Re: [COMMITTERS] pgsql: Fix planning of SubLinks to ensure that

2006-12-07 Thread Tom Lane
"Andrew Dunstan" <[EMAIL PROTECTED]> writes: > Tom Lane wrote: >> This is a pretty klugy solution --- it would likely be cleaner to >> change Param nodes to include a typmod field --- but we can't do that in >> the already-released 8.2 branch. > I'm slightly confused by this commit message. Is thi

[COMMITTERS] pgsql: Repair incorrect placement of WHERE clauses when there are

2006-12-07 Thread Tom Lane
Log Message: --- Repair incorrect placement of WHERE clauses when there are multiple, rearrangeable outer joins and the WHERE clause is non-strict and mentions only nullable-side relations. New bug in 8.2, caused by new logic to allow rearranging outer joins. Per bug #2807 from Ross Cohen

[COMMITTERS] pgsql: Repair incorrect placement of WHERE clauses when there are

2006-12-07 Thread Tom Lane
Log Message: --- Repair incorrect placement of WHERE clauses when there are multiple, rearrangeable outer joins and the WHERE clause is non-strict and mentions only nullable-side relations. New bug in 8.2, caused by new logic to allow rearranging outer joins. Per bug #2807 from Ross Cohen

[COMMITTERS] pgsql: Avoid double free of _SPI_current->tuptable.

2006-12-07 Thread Tom Lane
Log Message: --- Avoid double free of _SPI_current->tuptable. AtEOSubXact_SPI() now tries to release it in a subtransaction abort, but this neglects possibility that someone outside SPI already did. Fix is for spi.c to forget about a tuptable as soon as it's handed it back to the caller.

[COMMITTERS] pgsql: Avoid double free of _SPI_current->tuptable.

2006-12-07 Thread Tom Lane
Log Message: --- Avoid double free of _SPI_current->tuptable. AtEOSubXact_SPI() now tries to release it in a subtransaction abort, but this neglects possibility that someone outside SPI already did. Fix is for spi.c to forget about a tuptable as soon as it's handed it back to the caller.

[COMMITTERS] plpsm - plpgpsm: warning handling

2006-12-07 Thread User Okbob
Log Message: --- warning handling Modified Files: -- plpgpsm/src: gram.y (r1.3 -> r1.4) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/plpsm/plpgpsm/src/gram.y.diff?r1=1.3&r2=1.4) pl_comp.c (r1.2 -> r1.3) (http://cvs.pgfoundry.org/cgi-bin/cvs

[COMMITTERS] pgsql: Fix the build for when SHOW_MEMORY_STATS is defined.

2006-12-07 Thread Neil Conway
Log Message: --- Fix the build for when SHOW_MEMORY_STATS is defined. The reference to the nonexistent ShowStats variable is simply removed, per Gavin Sherry. Modified Files: -- pgsql/src/backend/tcop: postgres.c (r1.518 -> r1.519) (http://developer.postgre