Re: enable_incremental_sort changes query behavior

rbrooks <rbrooks@ctrlv.ca>

From: rbrooks <rbrooks@ctrlv.ca>
To: pgsql-hackers@postgresql.org
Date: 2021-03-01T19:23:17Z
Lists: pgsql-hackers
Just a bump to see if there is a time frame for a fix on this.

Google Cloud doesn't yet support setting the *enable_incremental_sort * flag
yet.
Was able to temporarily resolve by running the following though:

ALTER DATABASE corpdb SET enable_incremental_sort TO OFF;

Hope this helps others until the core issue has been resolved.





--
Sent from: https://www.postgresql-archive.org/PostgreSQL-hackers-f1928748.html



Commits

  1. Disallow SRFs when considering sorts below Gather Merge

  2. Error out when Gather Merge input is not sorted

  3. Fix get_useful_pathkeys_for_relation for volatile expressions

  4. Guard against core dump from uninitialized subplan.