pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Joe Conway <mail@joeconway.com>
Cc: Bruce Momjian <bruce@momjian.us>
Cc: Pete Storer <Pete.Storer@sas.com>
Cc: pgsql-bugs@lists.postgresql.org <pgsql-bugs@lists.postgresql.org>
Subject: Re: FW: Query execution failure
Date: Mon, 30 Jan 2023 11:29:33 -0500
Message-ID: <490923.1675096173@sss.pgh.pa.us> (raw)
In-Reply-To: <f0c0bfec-0571-8711-deee-f6e679846c18@joeconway.com>
References: <BL0PR05MB66282A9070EE621D031C27C7F3CE9@BL0PR05MB6628.namprd05.prod.outlook.com>
	<BL0PR05MB66283C57D72E321591AE4EB1F3CE9@BL0PR05MB6628.namprd05.prod.outlook.com>
	<2957101.1674746628@sss.pgh.pa.us>
	<BL0PR05MB66282D22D96AB745FBBD521FF3CF9@BL0PR05MB6628.namprd05.prod.outlook.com>
	<2961799.1674749201@sss.pgh.pa.us>
	<Y9fjfNpP7HZh1YX9@momjian.us>
	<f0c0bfec-0571-8711-deee-f6e679846c18@joeconway.com>

Joe Conway <mail@joeconway.com> writes:
> Also I have been told (not verified by me) that MySQL at least supports 
> using its own built-in collation. If so, how can we ever know that 
> whatever Postgres is using will match that?

Ugh.  mysql_fdw probably ought to default to no-sort-pushdown.

> I wonder if we should have an attribute of a foreign server that 
> indicates whether sort pushdown is enabled or not.

This is something that would have to be implemented individually
by each FDW for which it's relevant.  We could set a good precedent,
and perhaps standardize the option name, by doing that in postgres_fdw.

			regards, tom lane





view thread (18+ messages)  latest in thread

Message-ID: <490923.1675096173@sss.pgh.pa.us>
Permalink:  ../490923.1675096173@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/490923.1675096173@sss.pgh.pa.us

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, mail@joeconway.com, bruce@momjian.us, Pete.Storer@sas.com, pgsql-bugs@lists.postgresql.org
  Subject: Re: FW: Query execution failure
  In-Reply-To: <490923.1675096173@sss.pgh.pa.us>

* 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