pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: dschultheiss@gsd-software.com
Subject: BUG #15941: Query does not return
Date: Wed, 07 Aug 2019 13:16:05 +0000
Message-ID: <15941-70a8d08012f923d3@postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      15941
Logged by:          Dirk Schultheiß
Email address:      dschultheiss@gsd-software.com
PostgreSQL version: 12beta2
Operating system:   Windows 10 1903
Description:        

If we execute the following query it will not return and more than one
postgres.exe have high load. Actually it should return 0 tuples.
We tested this query with our software and with pgAdmin as well. 
If we change the two values of '2019-03-21T14:30:47' to e. g.
'2010-03-21T14:30:47' the query does return.

Select _$I.CID$$, _$I.OID$$, _$I.erstellungszeit$ 
From
GSD_Objects_Indexes.dokument$besitzer$$l$besitzer$string20$a$_erstellungszeit$$l$er
As _$I 
Where ( _$I.OID$$ In 
        ( Select _$1.OID$$ 
          From
GSD_Objects_Indexes.dokument$empfaenger$$l$empfaenger$dokumentempfaenger$a
As _$1 
          Group By _$1.OID$$ 
          Having Count ( * ) > 0 ) ) 
And ( _$I.erstellungszeit$ >= '2019-03-21T14:30:47' 
      And ( _$I.erstellungszeit$ > '2019-03-21T14:30:47' 
            Or _$I.OID$$ > 339136262 ) );



view thread (2+ messages)  latest in thread

Message-ID: <15941-70a8d08012f923d3@postgresql.org>
Permalink:  ../15941-70a8d08012f923d3@postgresql.org/
Also on:    postgresql.org/message-id/15941-70a8d08012f923d3@postgresql.org

 · 

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: noreply@postgresql.org, dschultheiss@gsd-software.com
  Subject: Re: BUG #15941: Query does not return
  In-Reply-To: <15941-70a8d08012f923d3@postgresql.org>
  References: <15941-70a8d08012f923d3@postgresql.org>

* 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