David Steele <da...@pgmasters.net> writes: > On 8/15/18 12:17 PM, Tom Lane wrote: >> Robert Haas <robertmh...@gmail.com> writes: >>> Personally, I'd prefer to >>> continue avoiding // comments and intermingled declarations of >>> variables and code on grounds of style and readability.
>> ... which I agree with. > We already have -Wdeclaration-after-statement to prevent mixed > declarations. Not sure what to do about comments except manual enforcement. pgindent will change // comments to /* style, so at least on the timescale of a release cycle, we have enforcement for that. regards, tom lane