pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tomas Vondra <tomas.vondra@2ndquadrant.com>
To: pgsql-bugs@postgresql.org
Subject: Re: Help me plz
Date: Sat, 11 Nov 2017 17:50:05 +0100
Message-ID: <562a23c6-48ad-dd96-a945-bedc442fe077@2ndquadrant.com> (raw)
In-Reply-To: <CAOKJcHCO2gAb2iuG_Sfb5rst-isna5MzezDfi0-9sc26hxYvRA@mail.gmail.com>
References: <CAOKJcHBRYosremi5gYDzv4Qxq5JL+OPoejNymca2HE6OyOO39Q@mail.gmail.com>
	<CAFj8pRANYdEpNerH3HjTCbeGjMFzioEwhvReT5WOHWcjMbHZrw@mail.gmail.com>
	<CAOKJcHCO2gAb2iuG_Sfb5rst-isna5MzezDfi0-9sc26hxYvRA@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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



view thread (5+ messages)

Message-ID: <562a23c6-48ad-dd96-a945-bedc442fe077@2ndquadrant.com>
Permalink:  ../562a23c6-48ad-dd96-a945-bedc442fe077@2ndquadrant.com/
Also on:    postgresql.org/message-id/562a23c6-48ad-dd96-a945-bedc442fe077@2ndquadrant.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tomas.vondra@2ndquadrant.com
  Subject: Re: Help me plz
  In-Reply-To: <562a23c6-48ad-dd96-a945-bedc442fe077@2ndquadrant.com>
  References: <CAOKJcHBRYosremi5gYDzv4Qxq5JL+OPoejNymca2HE6OyOO39Q@mail.gmail.com> <CAFj8pRANYdEpNerH3HjTCbeGjMFzioEwhvReT5WOHWcjMbHZrw@mail.gmail.com> <CAOKJcHCO2gAb2iuG_Sfb5rst-isna5MzezDfi0-9sc26hxYvRA@mail.gmail.com> <562a23c6-48ad-dd96-a945-bedc442fe077@2ndquadrant.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox