pgsql: Add information about line contents on parsing failure of wait_e

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add information about line contents on parsing failure of wait_e
Date: 2023-07-14 00:09:42
Message-ID: E1qK6NR-000FCa-S9@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/aea7fe33fb6a96133c47cf4b3af25a7c62f49c06

Modified Files
--------------
src/backend/utils/activity/generate-wait_event_types.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Thomas Munro 2023-07-14 00:30:37 pgsql: Remove wal_sync_method=fsync_writethrough on Windows.
Previous Message Michael Paquier 2023-07-14 00:02:15 pgsql: Remove double quotes from the second column of wait_event_names.