Content-Length: 257691 | pFad | http://github.com/postgrespro/postgres/commit/e65f94982ed32d87daf53fb4d4067b2fe4a4df90

18 Make new auto_explain test safe for log_error_verbosity = verbose. · postgrespro/postgres@e65f949 · GitHub
Skip to content

Commit e65f949

Browse files
committed
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 b998196 and 19408aa (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
1 parent a3699c5 commit e65f949

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/auto_explain/t/001_auto_explain.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ sub query_log
135135

136136
like(
137137
$log_contents,
138-
qr/WARNING: permission denied to set parameter "auto_explain\.log_level"/,
138+
qr/WARNING: ( 42501:)? permission denied to set parameter "auto_explain\.log_level"/,
139139
"permission failure logged");
140140

141141
} # end queries run as regress_user1

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/e65f94982ed32d87daf53fb4d4067b2fe4a4df90

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy