aboutsummaryrefslogtreecommitdiff
path: root/src/backend/parser/parse_utilcmd.c
diff options
context:
space:
mode:
authorTomas Vondra <tomas.vondra@postgresql.org>2020-04-08 18:30:11 +0200
committerTomas Vondra <tomas.vondra@postgresql.org>2020-04-08 18:30:11 +0200
commitcea09246e57821b8a97a6483a7df6c7345b055ef (patch)
tree995c8048ebceaf7389722b92d4d4fafa05a5b104 /src/backend/parser/parse_utilcmd.c
parenta9d70c108786712a1023c65e360602edf7bafbf4 (diff)
downloadpostgresql-cea09246e57821b8a97a6483a7df6c7345b055ef.tar.gz
postgresql-cea09246e57821b8a97a6483a7df6c7345b055ef.zip
Stabilize incremental_sort tests
The test never did ANALYZE on the test table, so the plans depended on various defaults (e.g. number of groups being 200). This worked most of the time, but with CLOBBER_CACHE_ALWAYS the autoanalyze often managed to build accurate stats, changing the plan. Fixed by increasing the size of test tables a bit, making the Sort a bit more expensive than Incremental Sort. The tests were constructed to test transitions in the Incremental Sort algorithm, and this change does not break that. Reviewed-by: James Coleman Discussion: https://postgr.es/m/CAPpHfds1waRZ=NOmueYq0sx1ZSCnt+5QJvizT8ndT2=etZEeAQ@mail.gmail.com
Diffstat (limited to 'src/backend/parser/parse_utilcmd.c')
0 files changed, 0 insertions, 0 deletions