]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Make sure to detach injection points for re-attaching
authorDaniel Gustafsson <dgustafsson@postgresql.org>
Thu, 30 Jul 2026 10:41:40 +0000 (12:41 +0200)
committerDaniel Gustafsson <dgustafsson@postgresql.org>
Thu, 30 Jul 2026 10:41:40 +0000 (12:41 +0200)
commitca7709f78f205d9e6685dee47b92dfadbc1b0ac7
tree939d10c2e67db2b6b5e41663a51ff93e373b08d4
parent28511528aea3cc319c72a59b559a0d3a06fe061b
Make sure to detach injection points for re-attaching

The new test for enabling data checksums with concurrent CREATE
DATABASE calls use the same injection points as a previous test
but accidentally missed detaching the injection point first.

Fix by detaching the injection point in the PG_TEST_EXTRA SKIP
block to make it can be reused.  Pointed out by buildfarm member
porpoise which failed with:

    die: error running SQL: 'psql:<stdin>:1:
     ERROR: injection point "datachecksumsworker-fake-temptable-wait"
        already defined'

Backpatch to v19 where online checksums were introduced.

Author: Daniel Gustafsson <daniel@yesql.se>
Reported-by: Buildfarm member porpoise
Reviewed-by: Jonathan Gonzalez V. <jonathan.abdiel@gmail.com>
Discussion: https://postgr.es/m/28CF6FD9-E1C4-4C04-8270-E3305AC46171@yesql.se
Backpatch-through: 19
src/test/modules/test_checksums/t/005_injection.pl