recovery test error

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: recovery test error
Date: 2024-07-16 19:04:13
Message-ID: e86b6d2d-20d8-4ac9-9a98-165fff7db886@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


As I was trying out the libpq perl wrapper on Windows, I encountered a
failure in recovery test 002_archiving.pl from this query:

SELECT size IS NOT NULL FROM
pg_stat_file('c:/prog/postgresql/build/testrun/recovery/002_archiving/data/t_002_archiving_primary_data/archives/00000002.history')

The test errored out because the file didn't exist.

This was called by poll_query_until(), which is changed by the patch to
use a libpq session rather than constantly forking psql. ISTM we should
be passing true as a second parameter so we keep going if the file
doesn't exist.

Thoughts?

cheers

andrew

--
Andrew Dunstan
EDB: https://www.enterprisedb.com

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David G. Johnston 2024-07-16 19:33:55 Re: [18] Policy on IMMUTABLE functions and Unicode updates
Previous Message Joe Conway 2024-07-16 18:57:10 Re: [18] Policy on IMMUTABLE functions and Unicode updates