Re: [BUGS] Help me plz - Mailing list pgsql-bugs

From Tomas Vondra
Subject Re: [BUGS] Help me plz
Date
Msg-id 562a23c6-48ad-dd96-a945-bedc442fe077@2ndquadrant.com
Whole thread Raw
In response to Re: [BUGS] Help me plz  (Kotadiya Dhrupesh <kotadiyadhrupesh@gmail.com>)
List 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


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: [BUGS] BUG #14897: Segfault on statitics SQL request
Next
From: Dmitry Dolgov
Date:
Subject: Re: [BUGS] BUG #14897: Segfault on statitics SQL request