rename labels in heapam.c? - Mailing list pgsql-hackers

From Andres Freund
Subject rename labels in heapam.c?
Date
Msg-id 20190322205842.k552i2fk5wrmcycv@alap3.anarazel.de
Whole thread Raw
Responses Re: rename labels in heapam.c?
List pgsql-hackers
Hi,

For the umpteenth time I was annoyed by the names of labels in
heapam.c. It's really not useful to see a 'goto l1;' etc.

How about renaming l1 to retry_delete_locked, l2 to retry_update_locked,
l3 to retry_lock_tuple_locked etc? Especially with the subsidiary
functions for updates and locking, it's not always clear from context
where the goto jumps to.

Greetings,

Andres Freund


pgsql-hackers by date:

Previous
From: Robbie Harwood
Date:
Subject: Re: [PATCH v20] GSSAPI encryption support
Next
From: Tom Lane
Date:
Subject: Re: speeding up planning with partitions