From: | Nazir Bilal Yavuz <byavuz81(at)gmail(dot)com> |
---|---|
To: | PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Cc: | Andres Freund <andres(at)anarazel(dot)de> |
Subject: | Improve error reporting in 027_stream_regress test |
Date: | 2025-06-30 13:01:04 |
Message-ID: | CAN55FZ1D6KXvjSs7YGsDeadqCxNF3UUhjRAfforzzP0k-cE=bA@mail.gmail.com |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi,
This patch aims to improve 027_stream_regress test's regression test
error reporting per Andres' suggestion [1]. It basically dumps 50
lines from head and tail of the regression.diff file to the failure
message if both primary and standby is alive and the regression test
is failed.
I used the diag() function to dump regression.diff to the failure
message. I am not sure if that is the best function to use, open to
suggestions.
One disadvantage of this patch is that regress_log_027_stream_regress
has both complete and head+tail of the regression.diff file.
--
Regards,
Nazir Bilal Yavuz
Microsoft
Attachment | Content-Type | Size |
---|---|---|
v1-0001-Improve-error-reporting-in-027_stream_regress-tes.patch | text/x-patch | 3.7 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Sami Imseih | 2025-06-30 13:08:04 | Re: pg_get_multixact_members not documented |
Previous Message | Hayato Kuroda (Fujitsu) | 2025-06-30 12:43:01 | RE: Check for existing replication slot in pg_createsubscriber |