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

Commitaea7fe3

Browse files
committed
Add information about line contents on parsing failure of wait_event_names.txt
The contents of the line whose parsing failed was not reported in theerror message produced by generate-wait_event_types.pl, making harderthan necessary the debugging of incorrectly-shaped entries in the file.Reported-by: Andres FreundDiscussion:https://postgr.es/m/ZK9S3jFEV1X797Ll@paquier.xyz
1 parent183a60a commitaea7fe3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/utils/activity/generate-wait_event_types.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
# Read the sorted lines and populate the hash table
7373
foreachmy$line (@lines_sorted)
7474
{
75-
die"unable to parse wait_event_names.txt"
75+
die"unable to parse wait_event_names.txt for line$line\n"
7676
unless$line =~/^(\w+)\t+(\w+)\t+(\w+)\t+("\w.*\.")$/;
7777

7878
(my$waitclassname,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp