Re: PATCH: CreateComments: use explicit indexing for ``values'' - Mailing list pgsql-hackers

From Florian Pflug
Subject Re: PATCH: CreateComments: use explicit indexing for ``values''
Date
Msg-id E30053EE-6F35-458E-999C-F08EEA59E48A@phlo.org
Whole thread Raw
In response to Re: PATCH: CreateComments: use explicit indexing for ``values''  (richhguard-monotone@yahoo.co.uk)
List pgsql-hackers
On Jun14, 2011, at 17:47 , richhguard-monotone@yahoo.co.uk wrote:
> This patch makes the intent of each initialization clear by using
> the constants directly instead of in a comment, and has the effect
> of being able to verify each line on it's own. The original requires
> verification of the preceding i++'s.

Here's a review of that patch.

The patch applies cleanly to HEAD, looks correct, and passes "make check".

The patch makes the code far more readable and makes adding new columns
to one of the affected system catalogs less error-prone.

Since the chance of us ever back-patching changes to the system catalog's
structure, the patch doesn't introduce additional back-patching hurdles.

I'm thus marking this Read for Committer.

best regards,
Florian Pflug



pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: use less space in xl_xact_commit patch
Next
From: Robert Haas
Date:
Subject: Re: use less space in xl_xact_commit patch