Add information about line contents on parsing failure of wait_event_names.txt
commitaea7fe33fb6a96133c47cf4b3af25a7c62f49c06
authorMichael Paquier <michael@paquier.xyz>
Fri, 14 Jul 2023 00:09:23 +0000 (14 09:09 +0900)
committerMichael Paquier <michael@paquier.xyz>
Fri, 14 Jul 2023 00:09:23 +0000 (14 09:09 +0900)
tree96bf67f70ec1c137ba6cfa2c5ed2b063361a36be
parent183a60a628fec074372e7a53d5006c18bd7a8e53
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 the
error message produced by generate-wait_event_types.pl, making harder
than necessary the debugging of incorrectly-shaped entries in the file.

Reported-by: Andres Freund
Discussion: https://postgr.es/m/ZK9S3jFEV1X797Ll@paquier.xyz
src/backend/utils/activity/generate-wait_event_types.pl