pgsql: Make lwlocknames.h generated file less ugly

From: Álvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Make lwlocknames.h generated file less ugly
Date: 2025-03-13 16:38:49
Message-ID: E1tsla5-002IbE-0k@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Make lwlocknames.h generated file less ugly

We can make the output look a bit better by aligning each lock's
definition, so add some padding space to achieve that. This change
makes no practical difference, but casual onlookers will be less
distracted by (lack of) whitespace.

Author: Gurjeet Singh <gurjeet(at)singh(dot)im>
Discussion: https://postgr.es/m/CABwTF4VxfwDtRV-H22_XK4XeDogaV-Vaobu+af5U=8ZAZn9ZZQ@mail.gmail.com

Branch
------
master

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

Modified Files
--------------
src/backend/storage/lmgr/generate-lwlocknames.pl | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Álvaro Herrera 2025-03-13 17:18:48 pgsql: ATExecSetRelOptions: Reduce scope of 'isnull' variable
Previous Message Nathan Bossart 2025-03-13 16:21:51 pgsql: Add reverse(bytea).