Re: Coding standards - Mailing list pgsql-patches

From Magnus Hagander
Subject Re: Coding standards
Date
Msg-id 20080418092643.51899034@mha-laptop
Whole thread Raw
In response to Coding standards  (Bryce Nesbitt <bryce2@obviously.com>)
List pgsql-patches
Bryce Nesbitt wrote:
> Alvaro Herrera wrote:
> > People [are] complaining here that we don't teach people here
> > anyway, so hopefully my comments were still useful :-)
> >
> 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?
>
> Though, darn it, I sure like //
>
> And my vi is set to:
>   set sw=4
>   set ts=4
>   set expandtab
> Because my corporate projects require spaces not tabs.

See the developer FAQ on the website. IIRC, it even contains what you
should put in your vi config file to make it do the right thing...

//Magnus

pgsql-patches by date:

Previous
From: Bryce Nesbitt
Date:
Subject: Re: Proposed patch - psql wraps at window width
Next
From: Gregory Stark
Date:
Subject: Re: Proposed patch - psql wraps at window width