pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephen Frost <sfrost@snowman.net>
To: Andrew Gierth <andrew@tao11.riddles.org.uk>
Cc: Kenneth Marshall <ktm@rice.edu>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Query never completes with an OR condition
Date: Mon, 3 Dec 2018 13:15:49 -0500
Message-ID: <20181203181549.GL3415@tamriel.snowman.net> (raw)
In-Reply-To: <87y39632td.fsf@news-spur.riddles.org.uk>
References: <20181203162836.GC16983@aart.rice.edu>
	<87y39632td.fsf@news-spur.riddles.org.uk>

Greetings,

* Andrew Gierth (andrew@tao11.riddles.org.uk) wrote:
> >>>>> "Kenneth" == Kenneth Marshall <ktm@rice.edu> writes:
> 
>  Kenneth> The individual queries run as expected, but when the OR
>  Kenneth> condition is added, it never finishes.
> 
> http://blog.rhodiumtoad.org.uk/2017/01/22/performance-issues-with-ored-conditions/

There's been work to improve on this and which I know that I, at least,
would love to see make it into PostgreSQL:

https://commitfest.postgresql.org/19/1001/

Would be great if someone could look at that and try to help determine
if it's possible to ensure that the results are entirely correct.

Thanks!

Stephen

Attachments:

  signature.asc (application/pgp-signature, 818B) download

view thread (3+ messages)

Message-ID: <20181203181549.GL3415@tamriel.snowman.net>
Permalink:  ../20181203181549.GL3415@tamriel.snowman.net/
Also on:    postgresql.org/message-id/20181203181549.GL3415@tamriel.snowman.net

 · 

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-general@postgresql.org
  Cc: sfrost@snowman.net, andrew@tao11.riddles.org.uk, ktm@rice.edu
  Subject: Re: Query never completes with an OR condition
  In-Reply-To: <20181203181549.GL3415@tamriel.snowman.net>
  References: <20181203162836.GC16983@aart.rice.edu> <87y39632td.fsf@news-spur.riddles.org.uk> <20181203181549.GL3415@tamriel.snowman.net>

* 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