Make new auto_explain test safe for log_error_verbosity = verbose.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 31 Jul 2022 16:29:44 +0000 (12:29 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 31 Jul 2022 16:29:44 +0000 (12:29 -0400)
commitbfac42ea0284f4608d1c37477db14374f4ac9e87
tree0974a81663a4d8009bc8ce00463345e4448265ff
parent43231423dafc0cedcb52169465589b0d1d3c47d2
Make new auto_explain test safe for log_error_verbosity = verbose.

Allow for the possible presence of a SQLSTATE code in the expected
warning message, similarly to b998196bb and 19408aae7 (although
here I see no need to allow more than one specific SQLSTATE).
Per gripe from Andrew Dunstan.

Discussion: https://postgr.es/m/c550ac53-5db5-3958-1798-50bae3d9af71@dunslane.net
contrib/auto_explain/t/001_auto_explain.pl