Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite65f949

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 expectedwarning message, similarly tob998196 and19408aa (althoughhere 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 parenta3699c5 commite65f949

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)

[8]ページ先頭

©2009-2025 Movatter.jp