Re: postgres FROM clause problem

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Paolo Tavalazzi <ptavalazzi(at)charta(dot)it>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: postgres FROM clause problem
Date: 2004-03-10 18:40:40
Message-ID: 8665.1078944040@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Paolo Tavalazzi <ptavalazzi(at)charta(dot)it> writes:
> I have applied the procedure for fixing pg_statistic as you had said, but the result is the same!

Hm. It could be a planner bug. Can you reproduce the misbehavior if
you dump and load the tables into a fresh database? If so, could you
send me the dump so I can look at the problem with a debugger?

(Also, you might try updating to 7.4.2 first and see if that changes
anything. We did fix quite a number of bugs already in 7.4.2...)

> Another question, in 7.4 GROUP BY clause not guarantee the ordering of result.
> Can I desable the new group by algorithm to maintain the coherence whit the programs that I have in production with pg_7.3

As Bruno said, your programs are broken because they are assuming
something not guaranteed by the SQL spec. But until you get around to
adding the ORDER BY clauses they should have, see enable_hashagg.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Thomas Swan 2004-03-10 18:45:13 Re: [GENERAL] Shouldn't B'1' = 1::bit be true?
Previous Message Bruno Wolff III 2004-03-10 18:12:47 Re: postgres FROM clause problem (GROUP BY subquestion)