]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Backport BackgroundPsql perl test module
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Thu, 27 Jun 2024 16:00:59 +0000 (19:00 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Thu, 27 Jun 2024 16:01:23 +0000 (19:01 +0300)
commit12f327b210b3b093e09778ec05fd44bbee4b0736
treef8724a3cf6524f5d8eb21715a3f061bfe57744e5
parentb7374f15bd2c01e8ca6192648e964a950e5c6833
Backport BackgroundPsql perl test module

Backport the new BackgroundPsql modules and the constructor functions,
background_psql() and interactive_psql, to all supported
branches. That makes it easier to backpatch tests that use it.

BackgroundPsql was introduced in version 16. On version 16, this
commit backports just the new timeout argument from master (commit
334f512f45). On older branches, the whole facility. This includes the
change to `use warnings FATAL => 'all'`, which we haven't otherwise
backported, but it seems good to keep the file identical across
branches.

Discussion: https://www.postgresql.org/message-id/b7c64f20-ea01-4f15-9088-0cd6832af149@iki.fi
contrib/amcheck/t/003_cic_2pc.pl
src/bin/psql/t/010_tab_completion.pl
src/test/perl/PostgreSQL/Test/BackgroundPsql.pm [new file with mode: 0644]
src/test/perl/PostgresNode.pm
src/test/recovery/t/010_logical_decoding_timelines.pl
src/test/recovery/t/031_recovery_conflict.pl
src/test/recovery/t/037_invalid_database.pl