Re: [PATCHES] Coding standards

From: Bryce Nesbitt <bryce2(at)obviously(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [PATCHES] Coding standards
Date: 2008-04-18 18:46:12
Message-ID: 4808EC74.8090204@obviously.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Alvaro Herrera wrote:
>> Yes they are useful. As a new patcher, where should I look for coding
>> standards? How about a little FAQ at the
>> top of the CVS source tree?
>>
>
> The developer's FAQ is supposed to contain this kind of thing, but I
> think it's rather thin on actual details. (Some time ago it was
> proposed to create a "style guide", but people here thought it was a
> waste of time and "it will not cover what's really important", so we're
> stuck with repeating the advice over and over.)
As a new patcher I'm certain to look at the top of the CVS tree. I'm
not so certain to actually find and read a FAQ. But I've got the advice
now, so I won't make the same missteps again....

-Bryce Nesbitt

PS: less is more, keep any guide very very short....

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Gregory Stark 2008-04-18 18:52:33 Re: Lessons from commit fest
Previous Message Naz Gassiep 2008-04-18 17:37:26 Re: get rid of psql welcome message

Browse pgsql-patches by date

  From Date Subject
Next Message Alvaro Herrera 2008-04-18 18:46:25 Re: float4/float8/int64 passed by value with tsearch fixup
Previous Message Tom Lane 2008-04-18 17:24:10 Re: Testing pg_terminate_backend()