pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Improve stability of identity.sql regression test. 5+ messages / 1 participants [nested] [flat]
* pgsql: Improve stability of identity.sql regression test. @ 2020-10-05 00:46 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 5+ messages in thread From: Tom Lane @ 2020-10-05 00:46 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Improve stability of identity.sql regression test. I noticed while trying to run the regression tests under a low geqo_threshold that one query on information_schema.columns had unstable (as in, variable from one run to the next) output order. This is pretty unsurprising given the complexity of the underlying plan. Interestingly, of this test's three nigh-identical queries on information_schema.columns, the other two already had ORDER BY clauses guaranteeing stable output. Let's make this one look the same. Back-patch to v10 where this test was added. We've not heard field reports of the test failing, but this experience shows that it can happen when testing under even slightly unusual conditions. Branch ------ REL_10_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/db7c7b88d00b615f203a4984ef0d01c5e2e46a33 Modified Files -------------- src/test/regress/expected/identity.out | 2 +- src/test/regress/sql/identity.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Improve stability of identity.sql regression test. @ 2020-10-05 00:46 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 5+ messages in thread From: Tom Lane @ 2020-10-05 00:46 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Improve stability of identity.sql regression test. I noticed while trying to run the regression tests under a low geqo_threshold that one query on information_schema.columns had unstable (as in, variable from one run to the next) output order. This is pretty unsurprising given the complexity of the underlying plan. Interestingly, of this test's three nigh-identical queries on information_schema.columns, the other two already had ORDER BY clauses guaranteeing stable output. Let's make this one look the same. Back-patch to v10 where this test was added. We've not heard field reports of the test failing, but this experience shows that it can happen when testing under even slightly unusual conditions. Branch ------ REL_12_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/5856ed1099d9288a7cee20cff9f95831a96add1c Modified Files -------------- src/test/regress/expected/identity.out | 2 +- src/test/regress/sql/identity.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Improve stability of identity.sql regression test. @ 2020-10-05 00:46 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 5+ messages in thread From: Tom Lane @ 2020-10-05 00:46 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Improve stability of identity.sql regression test. I noticed while trying to run the regression tests under a low geqo_threshold that one query on information_schema.columns had unstable (as in, variable from one run to the next) output order. This is pretty unsurprising given the complexity of the underlying plan. Interestingly, of this test's three nigh-identical queries on information_schema.columns, the other two already had ORDER BY clauses guaranteeing stable output. Let's make this one look the same. Back-patch to v10 where this test was added. We've not heard field reports of the test failing, but this experience shows that it can happen when testing under even slightly unusual conditions. Branch ------ REL_13_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/e01e339560ea7d8716924f3b014e902ef646729c Modified Files -------------- src/test/regress/expected/identity.out | 2 +- src/test/regress/sql/identity.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Improve stability of identity.sql regression test. @ 2020-10-05 00:46 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 5+ messages in thread From: Tom Lane @ 2020-10-05 00:46 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Improve stability of identity.sql regression test. I noticed while trying to run the regression tests under a low geqo_threshold that one query on information_schema.columns had unstable (as in, variable from one run to the next) output order. This is pretty unsurprising given the complexity of the underlying plan. Interestingly, of this test's three nigh-identical queries on information_schema.columns, the other two already had ORDER BY clauses guaranteeing stable output. Let's make this one look the same. Back-patch to v10 where this test was added. We've not heard field reports of the test failing, but this experience shows that it can happen when testing under even slightly unusual conditions. Branch ------ REL_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/0d1f6ae485d8d3d034e3d67dd38cc65ab359f773 Modified Files -------------- src/test/regress/expected/identity.out | 2 +- src/test/regress/sql/identity.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Improve stability of identity.sql regression test. @ 2020-10-05 00:46 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 5+ messages in thread From: Tom Lane @ 2020-10-05 00:46 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Improve stability of identity.sql regression test. I noticed while trying to run the regression tests under a low geqo_threshold that one query on information_schema.columns had unstable (as in, variable from one run to the next) output order. This is pretty unsurprising given the complexity of the underlying plan. Interestingly, of this test's three nigh-identical queries on information_schema.columns, the other two already had ORDER BY clauses guaranteeing stable output. Let's make this one look the same. Back-patch to v10 where this test was added. We've not heard field reports of the test failing, but this experience shows that it can happen when testing under even slightly unusual conditions. Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/e899742081fa24bf52d4a32103ef854a3a85865d Modified Files -------------- src/test/regress/expected/identity.out | 2 +- src/test/regress/sql/identity.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
end of thread, other threads:[~2020-10-05 00:46 UTC | newest] Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2020-10-05 00:46 pgsql: Improve stability of identity.sql regression test. Tom Lane <tgl@sss.pgh.pa.us> 2020-10-05 00:46 pgsql: Improve stability of identity.sql regression test. Tom Lane <tgl@sss.pgh.pa.us> 2020-10-05 00:46 pgsql: Improve stability of identity.sql regression test. Tom Lane <tgl@sss.pgh.pa.us> 2020-10-05 00:46 pgsql: Improve stability of identity.sql regression test. Tom Lane <tgl@sss.pgh.pa.us> 2020-10-05 00:46 pgsql: Improve stability of identity.sql regression test. Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox