pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedHelp me plz
5+ messages / 4 participants
[nested] [flat]
* Help me plz
@ 2017-11-09 14:13 Kotadiya Dhrupesh <kotadiyadhrupesh@gmail.com>
0 siblings, 1 reply; 5+ messages in thread
From: Kotadiya Dhrupesh @ 2017-11-09 14:13 UTC (permalink / raw)
To: pgsql-bugs
Hello,
I have got following output when run query in postgress.
v2=# select id,name,create_date from res_partner where supplier =False and
customer=True order by id desc limit 2
;
id | name | create_date
----------+---------------+----------------------------
13845976 | Ruth Acuna | 2017-11-09 13:48:38.755767
13845975 | Jenny ramirez | 2017-11-09 13:48:38.755767
(2 rows)
Please help me
Regards,
-----------------------------------------------------------------------------
----------------------------------------------
<https://pbs.twimg.com/profile_images/593124869216145408/xR_yzknH.jpg;
Dhrupesh Kotadiya
Sr. Odoo Developer
<https://www.linkedin.com/in/dhrupesh-kotadiya-99a20a61;
*Cell*: +91-97270 50349
Skype: dhrupesh.kotadiya
Twitter : KDhrupesh
-----------------------------------------------------------------------------
-----------------------------------------------
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Help me plz
@ 2017-11-09 15:11 Pavel Stehule <pavel.stehule@gmail.com>
parent: Kotadiya Dhrupesh <kotadiyadhrupesh@gmail.com>
0 siblings, 1 reply; 5+ messages in thread
From: Pavel Stehule @ 2017-11-09 15:11 UTC (permalink / raw)
To: Kotadiya Dhrupesh <kotadiyadhrupesh@gmail.com>; +Cc: pgsql-bugs
Hi
2017-11-09 15:13 GMT+01:00 Kotadiya Dhrupesh <kotadiyadhrupesh@gmail.com>:
> Hello,
>
> I have got following output when run query in postgress.
>
> v2=# select id,name,create_date from res_partner where supplier =False and
> customer=True order by id desc limit 2
> ;
> id | name | create_date
> ----------+---------------+----------------------------
> 13845976 | Ruth Acuna | 2017-11-09 13:48:38.755767
> 13845975 | Jenny ramirez | 2017-11-09 13:48:38.755767
> (2 rows)
>
>
>
It is not a bug. Please, use mailing list pgsql-general instead.
What is wrong there? Looks ok
Regards
Pavel
> Please help me
>
> Regards,
> ------------------------------------------------------------
> ---------------------------------------------------------------
> <https://pbs.twimg.com/profile_images/593124869216145408/xR_yzknH.jpg;
> Dhrupesh Kotadiya
> Sr. Odoo Developer
>
>
> <https://www.linkedin.com/in/dhrupesh-kotadiya-99a20a61;
>
> *Cell*: +91-97270 50349 <+91%2097270%2050349>
>
> Skype: dhrupesh.kotadiya
> Twitter : KDhrupesh
>
> ------------------------------------------------------------
> ----------------------------------------------------------------
>
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Help me plz
@ 2017-11-11 10:56 Kotadiya Dhrupesh <kotadiyadhrupesh@gmail.com>
parent: Pavel Stehule <pavel.stehule@gmail.com>
0 siblings, 2 replies; 5+ messages in thread
From: Kotadiya Dhrupesh @ 2017-11-11 10:56 UTC (permalink / raw)
To: Pavel Stehule <pavel.stehule@gmail.com>; +Cc: pgsql-bugs
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.
Thanks,
Regards,
-----------------------------------------------------------------------------
----------------------------------------------
<https://pbs.twimg.com/profile_images/593124869216145408/xR_yzknH.jpg;
Dhrupesh Kotadiya
Sr. Odoo Developer
<https://www.linkedin.com/in/dhrupesh-kotadiya-99a20a61;
*Cell*: +91-97270 50349
Skype: dhrupesh.kotadiya
Twitter : KDhrupesh
-----------------------------------------------------------------------------
-----------------------------------------------
On Thu, Nov 9, 2017 at 7:11 PM, Pavel Stehule <pavel.stehule@gmail.com>
wrote:
> Hi
>
> 2017-11-09 15:13 GMT+01:00 Kotadiya Dhrupesh <kotadiyadhrupesh@gmail.com>:
>
>> Hello,
>>
>> I have got following output when run query in postgress.
>>
>> v2=# select id,name,create_date from res_partner where supplier =False
>> and customer=True order by id desc limit 2
>> ;
>> id | name | create_date
>> ----------+---------------+----------------------------
>> 13845976 | Ruth Acuna | 2017-11-09 13:48:38.755767
>> 13845975 | Jenny ramirez | 2017-11-09 13:48:38.755767
>> (2 rows)
>>
>>
>>
> It is not a bug. Please, use mailing list pgsql-general instead.
>
> What is wrong there? Looks ok
>
> Regards
>
> Pavel
>
>
>
>
>> Please help me
>>
>> Regards,
>> ------------------------------------------------------------
>> ---------------------------------------------------------------
>> <https://pbs.twimg.com/profile_images/593124869216145408/xR_yzknH.jpg;
>> Dhrupesh Kotadiya
>> Sr. Odoo Developer
>>
>>
>> <https://www.linkedin.com/in/dhrupesh-kotadiya-99a20a61;
>>
>> *Cell*: +91-97270 50349 <+91%2097270%2050349>
>>
>> Skype: dhrupesh.kotadiya
>> Twitter : KDhrupesh
>>
>> ------------------------------------------------------------
>> ----------------------------------------------------------------
>>
>
>
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Help me plz
@ 2017-11-11 15:53 David G. Johnston <david.g.johnston@gmail.com>
parent: Kotadiya Dhrupesh <kotadiyadhrupesh@gmail.com>
1 sibling, 0 replies; 5+ messages in thread
From: David G. Johnston @ 2017-11-11 15:53 UTC (permalink / raw)
To: Kotadiya Dhrupesh <kotadiyadhrupesh@gmail.com>; +Cc: Pavel Stehule <pavel.stehule@gmail.com>; pgsql-bugs
On Saturday, November 11, 2017, Kotadiya Dhrupesh <
kotadiyadhrupesh@gmail.com> wrote:
> create_date::date <='20116-06-30'
>
I doubt you meant to write a date approx. 20,000 years in the future
there...
David J.
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Help me plz
@ 2017-11-11 16:50 Tomas Vondra <tomas.vondra@2ndquadrant.com>
parent: Kotadiya Dhrupesh <kotadiyadhrupesh@gmail.com>
1 sibling, 0 replies; 5+ messages in thread
From: Tomas Vondra @ 2017-11-11 16:50 UTC (permalink / raw)
To: 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
^ permalink raw reply [nested|flat] 5+ messages in thread
end of thread, other threads:[~2017-11-11 16:50 UTC | newest]
Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2017-11-09 14:13 Help me plz Kotadiya Dhrupesh <kotadiyadhrupesh@gmail.com>
2017-11-09 15:11 ` Pavel Stehule <pavel.stehule@gmail.com>
2017-11-11 10:56 ` Kotadiya Dhrupesh <kotadiyadhrupesh@gmail.com>
2017-11-11 15:53 ` David G. Johnston <david.g.johnston@gmail.com>
2017-11-11 16:50 ` Tomas Vondra <tomas.vondra@2ndquadrant.com>
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