Re: A small rant about coding style for backend functions - Mailing list pgsql-hackers

From Brendan Jurd
Subject Re: A small rant about coding style for backend functions
Date
Msg-id 37ed240d0711052111t4c0a79eclffe1bdbc9d928ada@mail.gmail.com
Whole thread Raw
In response to Re: A small rant about coding style for backend functions  (Bruce Momjian <bruce@momjian.us>)
Responses Re: A small rant about coding style for backend functions  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
On 11/6/07, Bruce Momjian <bruce@momjian.us> wrote:
>
> I understand your suggestions but it seems there would be too many
> individual items to be readable.  Can you suggest a full list so we can
> get an idea of how long it would be?

If the body of material on writing good Postgres code becomes so
comprehensive that it doesn't all fit on one page:
a) I would see that as a positive!b) We can of course split it up into sub-articles.

I can't realistically suggest a "full list" since I am not an
experienced Postgres hacker.  But I would hope for, as a minimum:
* the stuff about good GETARG style,* something about using ereport() effectively, and writing
localization-friendly messages,* some actual coding style guidelines.

Regards,
BJ


pgsql-hackers by date:

Previous
From: John DeSoi
Date:
Subject: Re: plpgsql keywords are hidden reserved words
Next
From: Jeremy Drake
Date:
Subject: Re: Open items for 8.3