Re: Help me plz

From: Tomas Vondra <tomas(dot)vondra(at)2ndquadrant(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Help me plz
Date: 2017-11-11 16:50:05
Message-ID: 562a23c6-48ad-dd96-a945-bedc442fe077@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On 11/11/2017 11:56 AM, Kotadiya Dhrupesh wrote:
> Hello,
>
> Thanks for update.
>
> v2=# select id,name,create_date from res_partner where supplier =False
> and customer=True and create_date::date <='20116-06-30' order by id desc
> limit 2
> ;
>     id    |      name      |        create_date         
> ----------+----------------+----------------------------
>  13845945 | Faryal Ahmed   | 2017-11-09 13:47:28.063494
>  13845944 | Ahmad Alghamdi | 2017-11-09 13:47:22.831375
> (2 rows)
>
>
> Please look above query.
>

So what exactly is wrong? Pavel already asked you to explain what you
think is wrong with the result, but you are just sending us "look at the
query" assuming it's somewhat obvious.

David already pointed out one possible issue (fat-fingered query
condition), but considering it wasn't there in the first request, I
doubt it's the actual issue.

regards

--
Tomas Vondra http://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Dmitry Dolgov 2017-11-11 16:52:34 Re: BUG #14897: Segfault on statitics SQL request
Previous Message Tom Lane 2017-11-11 16:36:56 Re: BUG #14897: Segfault on statitics SQL request