Coding style guide

Поиск
Список
Период
Сортировка
Искать

Coding style guide

От:
Daniel Loureiro <loureirorg@gmail.com>
Дата:
Is there any official style guide of PostgreSQL code ? Like the
"google-styleguide"
(http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml) ?

Regards,
--
Daniel Loureiro

Re: Coding style guide

От:
Bruce Momjian <bruce@momjian.us>
Дата:
Daniel Loureiro wrote:
> Is there any official style guide of PostgreSQL code ? Like the
> "google-styleguide"
> (http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml) ?

There is the developers FAQ.

--  Bruce Momjian          http://momjian.us EnterpriseDB                             http://enterprisedb.com
 + It's impossible for everything to be true. +

Re: Coding style guide

От:
Robert Haas <robertmhaas@gmail.com>
Дата:
On Thu, Feb 17, 2011 at 3:55 PM, Bruce Momjian  wrote:
> Daniel Loureiro wrote:
>> Is there any official style guide of PostgreSQL code ? Like the
>> "google-styleguide"
>> (http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml) ?
>
> There is the developers FAQ.

There's also http://www.postgresql.org/docs/current/static/source.html

That section could probably use some expansion though.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

FAQ