]> 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:00:59 +0000 (19:00 +0300)
commit187b8991f70fc3d2a13dc709edd408a8df0be055
tree05bcba574b14a34d514353d845e14a912dd4d5e9
parentb8f953d8d7bff6ca5d7fc8cb0f37a9d3d7a7462b
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
src/test/perl/PostgreSQL/Test/BackgroundPsql.pm
src/test/perl/PostgreSQL/Test/Cluster.pm