Coding style guide

Started by Daniel Loureiroalmost 15 years ago3 messages
#1Daniel 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

#2Bruce Momjian
bruce@momjian.us
In reply to: Daniel Loureiro (#1)
Re: Coding style guide

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 <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ It's impossible for everything to be true. +

#3Robert Haas
robertmhaas@gmail.com
In reply to: Bruce Momjian (#2)
Re: Coding style guide

On Thu, Feb 17, 2011 at 3:55 PM, Bruce Momjian <bruce@momjian.us> 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