Re: [BUGS] BUG #1188: evaluation order of select seems to be wrong

2004-07-10 Thread Tom Lane
I wrote: > I think (but haven't tested) that the fix just involves altering the > order of operations in nodeAgg.c so that we don't ExecProject until we > have checked the qual condition. I have applied the attached patch to fix this in CVS HEAD and 7.4 branches. The error does in fact date back

Re: [BUGS] BUG #1188: evaluation order of select seems to be wrong

2004-07-09 Thread Tom Lane
Stephan Szabo <[EMAIL PROTECTED]> writes: > On Wed, 7 Jul 2004, Peter Eisentraut wrote: >> Am Mittwoch, 7. Juli 2004 14:58 schrieb PostgreSQL Bugs List: > Description:evaluation order of select seems to be wrong >> >> Please read this: >> http://www.postgresql.org/docs/7.4/static/sql-expre

Re: [BUGS] BUG #1188: evaluation order of select seems to be wrong

2004-07-07 Thread Stephan Szabo
On Wed, 7 Jul 2004, Peter Eisentraut wrote: > Am Mittwoch, 7. Juli 2004 14:58 schrieb PostgreSQL Bugs List: > > Description:evaluation order of select seems to be wrong > > Please read this: > http://www.postgresql.org/docs/7.4/static/sql-expressions.html#SYNTAX-EXPRESS-EVAL The issue is

Re: [BUGS] BUG #1188: evaluation order of select seems to be wrong

2004-07-07 Thread Peter Eisentraut
Am Mittwoch, 7. Juli 2004 14:58 schrieb PostgreSQL Bugs List: > Description:evaluation order of select seems to be wrong Please read this: http://www.postgresql.org/docs/7.4/static/sql-expressions.html#SYNTAX-EXPRESS-EVAL ---(end of broadcast)-

[BUGS] BUG #1188: evaluation order of select seems to be wrong

2004-07-07 Thread PostgreSQL Bugs List
The following bug has been logged online: Bug reference: 1188 Logged by: Holger Jakobs Email address: [EMAIL PROTECTED] PostgreSQL version: 7.4 Operating system: Linux Description:evaluation order of select seems to be wrong Details: There is a table like cr