Re: PATCH: CreateComments: use explicit indexing for ``values''

Поиск
Список
Период
Сортировка
От Florian Pflug
Тема Re: PATCH: CreateComments: use explicit indexing for ``values''
Дата
Msg-id E30053EE-6F35-458E-999C-F08EEA59E48A@phlo.org
обсуждение исходный текст
Ответ на Re: PATCH: CreateComments: use explicit indexing for ``values''  (richhguard-monotone@yahoo.co.uk)
Список 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 по дате отправления:

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: use less space in xl_xact_commit patch
Следующее
От: Robert Haas
Дата:
Сообщение: Re: use less space in xl_xact_commit patch