Re: Coding standards

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Bryce Nesbitt <bryce2(at)obviously(dot)com>
Cc: Alvaro Herrera <alvherre(at)commandprompt(dot)com>, pgsql-patches(at)postgresql(dot)org
Subject: Re: Coding standards
Date: 2008-04-18 07:26:43
Message-ID: 20080418092643.51899034@mha-laptop
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Gaetano Mendola 2008-04-18 08:06:02 Re: new field content lost
Previous Message Bryce Nesbitt 2008-04-18 07:11:58 Re: Proposed patch - psql wraps at window width

Browse pgsql-patches by date

  From Date Subject
Next Message Gregory Stark 2008-04-18 10:01:22 Re: Proposed patch - psql wraps at window width
Previous Message Bryce Nesbitt 2008-04-18 07:11:58 Re: Proposed patch - psql wraps at window width