mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-08-18 21:13:24 +02:00
postgres_fdw would push ORDER BY clauses to the remote side without
verifying that the sort operator is safe to ship. Moreover, it failed
to print a suitable USING clause if the sort operator isn't default
for the sort expression's type. The net result of this is that the
remote sort might not have anywhere near the semantics we expect,
which'd be disastrous for locally-performed merge joins in particular.
We addressed similar issues in the context of ORDER BY within an
aggregate function call in commit
|
||
---|---|---|
.. | ||
postgres_fdw.sql |