pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Stabilize just-added regression test cases. 6+ messages / 1 participants [nested] [flat]
* pgsql: Stabilize just-added regression test cases. @ 2023-04-06 22:14 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2023-04-06 22:14 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Stabilize just-added regression test cases. The tests added by commits 029dea882 et al turn out to produce different output under -DRANDOMIZE_ALLOCATED_MEMORY. This is not a bug exactly: that flag causes coerce_type() to invoke the input function twice when coercing an unknown-type literal to a specific type. So you get tsqueryin's bleat about an empty tsquery twice. Revise the test query to avoid that. Discussion: https://postgr.es/m/20230406213813.uep7plg6lvcywujo@awork3.anarazel.de Branch ------ REL_13_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/16188d88ecc604a2dd68d717811fcfd6a112526f Modified Files -------------- src/test/regress/expected/tsearch.out | 8 ++------ src/test/regress/sql/tsearch.sql | 4 ++-- 2 files changed, 4 insertions(+), 8 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Stabilize just-added regression test cases. @ 2023-04-06 22:14 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2023-04-06 22:14 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Stabilize just-added regression test cases. The tests added by commits 029dea882 et al turn out to produce different output under -DRANDOMIZE_ALLOCATED_MEMORY. This is not a bug exactly: that flag causes coerce_type() to invoke the input function twice when coercing an unknown-type literal to a specific type. So you get tsqueryin's bleat about an empty tsquery twice. Revise the test query to avoid that. Discussion: https://postgr.es/m/20230406213813.uep7plg6lvcywujo@awork3.anarazel.de Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/5499706bdf60235f787eae9d2b541444ef0b31b3 Modified Files -------------- src/test/regress/expected/tsearch.out | 8 ++------ src/test/regress/sql/tsearch.sql | 4 ++-- 2 files changed, 4 insertions(+), 8 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Stabilize just-added regression test cases. @ 2023-04-06 22:14 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2023-04-06 22:14 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Stabilize just-added regression test cases. The tests added by commits 029dea882 et al turn out to produce different output under -DRANDOMIZE_ALLOCATED_MEMORY. This is not a bug exactly: that flag causes coerce_type() to invoke the input function twice when coercing an unknown-type literal to a specific type. So you get tsqueryin's bleat about an empty tsquery twice. Revise the test query to avoid that. Discussion: https://postgr.es/m/20230406213813.uep7plg6lvcywujo@awork3.anarazel.de Branch ------ REL_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/83965ef0bd2345f83d728f0ca80779b8fd1c264c Modified Files -------------- src/test/regress/expected/tsearch.out | 8 ++------ src/test/regress/sql/tsearch.sql | 4 ++-- 2 files changed, 4 insertions(+), 8 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Stabilize just-added regression test cases. @ 2023-04-06 22:14 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2023-04-06 22:14 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Stabilize just-added regression test cases. The tests added by commits 029dea882 et al turn out to produce different output under -DRANDOMIZE_ALLOCATED_MEMORY. This is not a bug exactly: that flag causes coerce_type() to invoke the input function twice when coercing an unknown-type literal to a specific type. So you get tsqueryin's bleat about an empty tsquery twice. Revise the test query to avoid that. Discussion: https://postgr.es/m/20230406213813.uep7plg6lvcywujo@awork3.anarazel.de Branch ------ REL_12_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/027d29edf454c9f91dc444c87efeeae5d2ce5893 Modified Files -------------- src/test/regress/expected/tsearch.out | 8 ++------ src/test/regress/sql/tsearch.sql | 4 ++-- 2 files changed, 4 insertions(+), 8 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Stabilize just-added regression test cases. @ 2023-04-06 22:14 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2023-04-06 22:14 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Stabilize just-added regression test cases. The tests added by commits 029dea882 et al turn out to produce different output under -DRANDOMIZE_ALLOCATED_MEMORY. This is not a bug exactly: that flag causes coerce_type() to invoke the input function twice when coercing an unknown-type literal to a specific type. So you get tsqueryin's bleat about an empty tsquery twice. Revise the test query to avoid that. Discussion: https://postgr.es/m/20230406213813.uep7plg6lvcywujo@awork3.anarazel.de Branch ------ REL_15_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/d6ac2348b8a1f031013066619dfb2ce9872251ff Modified Files -------------- src/test/regress/expected/tsearch.out | 8 ++------ src/test/regress/sql/tsearch.sql | 4 ++-- 2 files changed, 4 insertions(+), 8 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Stabilize just-added regression test cases. @ 2023-04-06 22:14 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2023-04-06 22:14 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Stabilize just-added regression test cases. The tests added by commits 029dea882 et al turn out to produce different output under -DRANDOMIZE_ALLOCATED_MEMORY. This is not a bug exactly: that flag causes coerce_type() to invoke the input function twice when coercing an unknown-type literal to a specific type. So you get tsqueryin's bleat about an empty tsquery twice. Revise the test query to avoid that. Discussion: https://postgr.es/m/20230406213813.uep7plg6lvcywujo@awork3.anarazel.de Branch ------ REL_14_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/1bee3ca2384fc635029390cf37159cb04250c67e Modified Files -------------- src/test/regress/expected/tsearch.out | 8 ++------ src/test/regress/sql/tsearch.sql | 4 ++-- 2 files changed, 4 insertions(+), 8 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2023-04-06 22:14 UTC | newest] Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2023-04-06 22:14 pgsql: Stabilize just-added regression test cases. Tom Lane <tgl@sss.pgh.pa.us> 2023-04-06 22:14 pgsql: Stabilize just-added regression test cases. Tom Lane <tgl@sss.pgh.pa.us> 2023-04-06 22:14 pgsql: Stabilize just-added regression test cases. Tom Lane <tgl@sss.pgh.pa.us> 2023-04-06 22:14 pgsql: Stabilize just-added regression test cases. Tom Lane <tgl@sss.pgh.pa.us> 2023-04-06 22:14 pgsql: Stabilize just-added regression test cases. Tom Lane <tgl@sss.pgh.pa.us> 2023-04-06 22:14 pgsql: Stabilize just-added regression test cases. 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