git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 01effb1) | patch
Reduce running time of jsonb_sqljson test
Wed, 6 Apr 2022 14:25:45 +0000 (10:25 -0400)
Wed, 6 Apr 2022 14:25:45 +0000 (10:25 -0400)
commit 2ef6f11b0c77ec323c688ddfd98ffabddb72c11d
Reduce running time of jsonb_sqljson test

The test created a 1m row table in order to test parallel operation of
JSON_VALUE. However, this was more than were needed for the test, so
save time by halving it, and also by making the table unlogged.
Experimentation shows that this size is only a little above the number
required to generate the expected output.

Per gripe from Andres Freund

Discussion: https://postgr.es/m/20220406022118.3ocqvhxr6kciw5am@alap3.anarazel.de
src/test/regress/expected/jsonb_sqljson.out diff | blob | blame | history
src/test/regress/sql/jsonb_sqljson.sql diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /