pgsql: Fix postgres_fdw to check shippability of sort clauses properly.

2022-03-31 Thread Tom Lane
Fix postgres_fdw to check shippability of sort clauses properly. 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

pgsql: Fix postgres_fdw to check shippability of sort clauses properly.

2022-03-31 Thread Tom Lane
Fix postgres_fdw to check shippability of sort clauses properly. 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

pgsql: Fix postgres_fdw to check shippability of sort clauses properly.

2022-03-31 Thread Tom Lane
Fix postgres_fdw to check shippability of sort clauses properly. 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

pgsql: Fix postgres_fdw to check shippability of sort clauses properly.

2022-03-31 Thread Tom Lane
Fix postgres_fdw to check shippability of sort clauses properly. 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

pgsql: Fix postgres_fdw to check shippability of sort clauses properly.

2022-03-31 Thread Tom Lane
Fix postgres_fdw to check shippability of sort clauses properly. 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

pgsql: Fix postgres_fdw to check shippability of sort clauses properly.

2022-03-31 Thread Tom Lane
Fix postgres_fdw to check shippability of sort clauses properly. 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