pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #15941: Query does not return
2+ messages / 2 participants
[nested] [flat]

* BUG #15941: Query does not return
@ 2019-08-07 13:16 PG Bug reporting form <noreply@postgresql.org>
  2019-08-07 15:16 ` Re: BUG #15941: Query does not return Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 2+ messages in thread

From: PG Bug reporting form @ 2019-08-07 13:16 UTC (permalink / raw)
  To: pgsql-bugs@lists.postgresql.org; +Cc: dschultheiss@gsd-software.com

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 ) );



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: BUG #15941: Query does not return
  2019-08-07 13:16 BUG #15941: Query does not return PG Bug reporting form <noreply@postgresql.org>
@ 2019-08-07 15:16 ` Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2019-08-07 15:16 UTC (permalink / raw)
  To: dschultheiss@gsd-software.com; +Cc: pgsql-bugs@lists.postgresql.org

PG Bug reporting form <noreply@postgresql.org> writes:
> If we execute the following query it will not return and more than one
> postgres.exe have high load.

This is not a bug, or at least you've presented no evidence why
it should be considered one.  Actually, you've presented no evidence
period, because an unintelligible query given in isolation isn't
something anyone can comment on.  Please review

https://wiki.postgresql.org/wiki/Slow_Query_Questions

			regards, tom lane





^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2019-08-07 15:16 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-08-07 13:16 BUG #15941: Query does not return PG Bug reporting form <noreply@postgresql.org>
2019-08-07 15:16 ` Tom Lane <tgl@sss.pgh.pa.us>

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