Thread: pgsql: Adjust recently added test for pg_signal_autovacuum role

pgsql: Adjust recently added test for pg_signal_autovacuum role

From
Andrew Dunstan
Date:
Adjust recently added test for pg_signal_autovacuum role

This test was added by commit d2b74882ca, but fails if
log_error_verbosity is set to verbose. Adjust the regex that checks the
error message to allow for it containing an SQL status code.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/49546ae9c74f02dc2a0d6b5469ba0bb025ae25c2

Modified Files
--------------
src/test/modules/test_misc/t/006_signal_autovacuum.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


Re: pgsql: Adjust recently added test for pg_signal_autovacuum role

From
Michael Paquier
Date:
On Tue, Jul 16, 2024 at 02:08:55PM +0000, Andrew Dunstan wrote:
> Adjust recently added test for pg_signal_autovacuum role
>
> This test was added by commit d2b74882ca, but fails if
> log_error_verbosity is set to verbose. Adjust the regex that checks the
> error message to allow for it containing an SQL status code.

Ugh.  Thanks Andrew.

Feel free to ping me and I would have taken care of it.  The buildfarm
did not say anything about that yet when I plugged off yesterday :/
--
Michael

Attachment