From: | John W Higgins <wishdev(at)gmail(dot)com> |
---|---|
To: | "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: [Proposal] Level4 Warnings show many shadow vars |
Date: | 2019-12-10 15:58:41 |
Message-ID: | CAPhAwGzJpwpnvj_D8VTecGsog85=R1tOeMHJEMtvRFxR84ssbw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Tue, Dec 10, 2019 at 5:21 AM Ranier Vilela <ranier_gyn(at)hotmail(dot)com>
wrote:
> New version the global patch, with the considerations.
> Unfortunately WalReceiverConn cannot be used because it is currently the
> typedef name for the structure.
> I switched to WalReceiverConnection, it was long but it looks good.
> RedoRecPtr proper name has no consensus yet, so it was still
> lastRedoRecPtr.
>
>
For someone that expounds consistency - this patch is the furthest thing
from it.
In some places names are randomly changed to have an underscore
(authmethodlocal to authmethod_local with the obvious inconsistency as
well) - in some places names are changed to remove underscores (stop_t to
stopt). Some places random letters are added (checkPoint to xcheckPoint)
some places perfectly good names are truncated (conf_file to file).
Random places remove perfectly good prefixes and replace with single
letters (numTables to nTables)
Random places switch from lower case names to upper case names (sentPtr to
WalSentPtr) most places leave lower case names (days to ndays).
Please at least be consistent within the patch itself.....
John W Higgins
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2019-12-10 16:16:49 | Re: Unicode normalization test broken output |
Previous Message | Tom Lane | 2019-12-10 15:57:13 | Re: Windows buildfarm members vs. new async-notify isolation test |