Re: FW: Query execution failure - Mailing list pgsql-bugs

From Bruce Momjian
Subject Re: FW: Query execution failure
Date
Msg-id Y9fjfNpP7HZh1YX9@momjian.us
Whole thread Raw
In response to Re: FW: Query execution failure  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: FW: Query execution failure  (Joe Conway <mail@joeconway.com>)
Re: FW: Query execution failure  (Bruce Momjian <bruce@momjian.us>)
List pgsql-bugs
On Thu, Jan 26, 2023 at 11:06:41AM -0500, Tom Lane wrote:
> I don't know anything about the mysql FDW, but another possible route
> to fixing things is to get it to not believe that the remote's sort
> ordering matches the local one.  If the plan were relying on a local
> sort instead of a remote sort then everything would be fine.

When we implemented sort pushdown to FDWs I had not considered how hard
it might be to match sort ordering, especially considering the problem
we have in matching orderings from different operating system versions.

Is this documented somewhere?

-- 
  Bruce Momjian  <bruce@momjian.us>        https://momjian.us
  EDB                                      https://enterprisedb.com

Embrace your flaws.  They make you human, rather than perfect,
which you will never be.



pgsql-bugs by date:

Previous
From: David Rowley
Date:
Subject: Re: range_agg extremely slow compared to naive implementation in obscure circumstances
Next
From: Joe Conway
Date:
Subject: Re: FW: Query execution failure