pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Fix more portability issues in new pgbench TAP tests. 5+ messages / 2 participants [nested] [flat]
* pgsql: Fix more portability issues in new pgbench TAP tests. @ 2017-09-08 17:36 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 1 reply; 5+ messages in thread From: Tom Lane @ 2017-09-08 17:36 UTC (permalink / raw) To: pgsql-committers Fix more portability issues in new pgbench TAP tests. * Remove no-such-user test case, output isn't stable, and we really don't need to be testing such cases here anyway. * Fix the process exit code test logic to match PostgresNode::psql (but I didn't bother with looking at the "core" flag). * Give up on inf/nan tests. Per buildfarm. Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/77d63b7eafd44469c2766c1f29b75533981e4911 Modified Files -------------- src/bin/pgbench/t/001_pgbench_with_server.pl | 20 +++----------------- src/test/perl/TestLib.pm | 14 ++++++++------ 2 files changed, 11 insertions(+), 23 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Fix more portability issues in new pgbench TAP tests. @ 2017-09-08 18:01 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 5+ messages in thread From: Tom Lane @ 2017-09-08 18:01 UTC (permalink / raw) To: pgsql-committers Fix more portability issues in new pgbench TAP tests. Strike two on the --bad-option test. Three strikes and it's out. Fabien Coelho, per buildfarm Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/933851033becf0848e0bb903f310bbd725e19489 Modified Files -------------- src/bin/pgbench/t/002_pgbench_no_server.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: pgsql: Fix more portability issues in new pgbench TAP tests. @ 2017-09-08 18:12 Fabien COELHO <coelho@cri.ensmp.fr> parent: Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 5+ messages in thread From: Fabien COELHO @ 2017-09-08 18:12 UTC (permalink / raw) To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-committers > Fix more portability issues in new pgbench TAP tests. Sorry for all these issues unforeseen issues. Thanks to the farm! > * Remove no-such-user test case, output isn't stable, and we really > don't need to be testing such cases here anyway. Ok. > * Fix the process exit code test logic to match PostgresNode::psql > (but I didn't bother with looking at the "core" flag). Ok. At least it is consistent. > * Give up on inf/nan tests. Too bad, I liked them! Thanks for the fixes. -- Fabien. -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Fix more portability issues in new pgbench TAP tests. @ 2017-09-08 21:38 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 5+ messages in thread From: Tom Lane @ 2017-09-08 21:38 UTC (permalink / raw) To: pgsql-committers Fix more portability issues in new pgbench TAP tests. Not completely sure, but I think bowerbird is spitting up on attempting to include ">" in a temporary file name. (Why in the world are we writing this stuff into files at all? A hash would be a better answer.) Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/f25000c832f2e147986110116d4ba1a57b9d9256 Modified Files -------------- src/bin/pgbench/t/001_pgbench_with_server.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Fix more portability issues in new amcheck code. @ 2020-10-23 23:08 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 5+ messages in thread From: Tom Lane @ 2020-10-23 23:08 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix more portability issues in new amcheck code. verify_heapam() wasn't being careful to sanity-check tuple line pointers before using them, resulting in SIGBUS on alignment-picky architectures. Fix that, add some more test coverage. Mark Dilger, some tweaking by me Discussion: https://postgr.es/m/30B8E99A-2D9C-48D4-A55C-741C9D5F1563@enterprisedb.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/321633e17b07968e68ca5341429e2c8bbf15c331 Modified Files -------------- contrib/amcheck/t/001_verify_heapam.pl | 30 ++++++++----- contrib/amcheck/verify_heapam.c | 78 +++++++++++++++++++++++----------- 2 files changed, 73 insertions(+), 35 deletions(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
end of thread, other threads:[~2020-10-23 23:08 UTC | newest] Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2017-09-08 17:36 pgsql: Fix more portability issues in new pgbench TAP tests. Tom Lane <tgl@sss.pgh.pa.us> 2017-09-08 18:12 ` Fabien COELHO <coelho@cri.ensmp.fr> 2017-09-08 18:01 pgsql: Fix more portability issues in new pgbench TAP tests. Tom Lane <tgl@sss.pgh.pa.us> 2017-09-08 21:38 pgsql: Fix more portability issues in new pgbench TAP tests. Tom Lane <tgl@sss.pgh.pa.us> 2020-10-23 23:08 pgsql: Fix more portability issues in new amcheck code. 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