R: R: Postgres 9.6.1 big slowdown by upgrading 8.4.22

From: Job <Job(at)colliniconsulting(dot)it>
To: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: R: R: Postgres 9.6.1 big slowdown by upgrading 8.4.22
Date: 2017-01-09 09:33:07
Message-ID: 88EF58F000EC4B4684700C2AA3A73D7A08054EACC25E@W2008DC01.ColliniConsulting.lan
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi guys,

Really thank you.
Thanks to your help i solved the problem.

As said by Adrian:

>>Caveats, it is morning here and coffee is still brewing, but I am not following. The left join limits grulist.stato to NULL, 1, 2. Your first condition catches the 1 value. Should not the second 'and' be (stato = 2 or stato is >>
>>null). In fact I do not see why it needs to exist at all, which seems to be borne out by your experimentation.

O doubled conditions, without reason!

I think making good queries is an art, at the moment i am not an artist! :)

Again,thank you very much!

/F

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom DalPozzo 2017-01-09 14:14:32 checkpoint clarifications needed
Previous Message Adrian Klaver 2017-01-08 17:14:39 Re: R: Postgres 9.6.1 big slowdown by upgrading 8.4.22