<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <HTML ><HEAD ><TITLE >PostgreSQL Coding Conventions</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK REV="MADE" HREF="mailto:pgsql-docs@postgresql.org"><LINK REL="HOME" TITLE="PostgreSQL 9.0.19 Documentation" HREF="index.html"><LINK REL="UP" TITLE="Internals" HREF="internals.html"><LINK REL="PREVIOUS" TITLE="Summary of Changes since Protocol 2.0" HREF="protocol-changes.html"><LINK REL="NEXT" TITLE="Formatting" HREF="source-format.html"><LINK REL="STYLESHEET" TYPE="text/css" HREF="stylesheet.css"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"><META NAME="creation" CONTENT="2015-02-07T09:43:28"></HEAD ><BODY CLASS="CHAPTER" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="5" ALIGN="center" VALIGN="bottom" ><A HREF="index.html" >PostgreSQL 9.0.19 Documentation</A ></TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="top" ><A TITLE="Summary of Changes since Protocol 2.0" HREF="protocol-changes.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="10%" ALIGN="left" VALIGN="top" ><A HREF="internals.html" ACCESSKEY="U" >Up</A ></TD ><TD WIDTH="60%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="20%" ALIGN="right" VALIGN="top" ><A TITLE="Formatting" HREF="source-format.html" ACCESSKEY="N" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><DIV CLASS="CHAPTER" ><H1 ><A NAME="SOURCE" ></A >Chapter 47. PostgreSQL Coding Conventions</H1 ><DIV CLASS="TOC" ><DL ><DT ><B >Table of Contents</B ></DT ><DT >47.1. <A HREF="source-format.html" >Formatting</A ></DT ><DT >47.2. <A HREF="error-message-reporting.html" >Reporting Errors Within the Server</A ></DT ><DT >47.3. <A HREF="error-style-guide.html" >Error Message Style Guide</A ></DT ><DD ><DL ><DT >47.3.1. <A HREF="error-style-guide.html#AEN86223" >What goes where</A ></DT ><DT >47.3.2. <A HREF="error-style-guide.html#AEN86232" >Formatting</A ></DT ><DT >47.3.3. <A HREF="error-style-guide.html#AEN86236" >Quotation marks</A ></DT ><DT >47.3.4. <A HREF="error-style-guide.html#AEN86240" >Use of quotes</A ></DT ><DT >47.3.5. <A HREF="error-style-guide.html#AEN86246" >Grammar and punctuation</A ></DT ><DT >47.3.6. <A HREF="error-style-guide.html#AEN86253" >Upper case vs. lower case</A ></DT ><DT >47.3.7. <A HREF="error-style-guide.html#AEN86257" >Avoid passive voice</A ></DT ><DT >47.3.8. <A HREF="error-style-guide.html#AEN86263" >Present vs past tense</A ></DT ><DT >47.3.9. <A HREF="error-style-guide.html#AEN86273" >Type of the object</A ></DT ><DT >47.3.10. <A HREF="error-style-guide.html#AEN86278" >Brackets</A ></DT ><DT >47.3.11. <A HREF="error-style-guide.html#AEN86282" >Assembling error messages</A ></DT ><DT >47.3.12. <A HREF="error-style-guide.html#AEN86287" >Reasons for errors</A ></DT ><DT >47.3.13. <A HREF="error-style-guide.html#AEN86291" >Function names</A ></DT ><DT >47.3.14. <A HREF="error-style-guide.html#AEN86298" >Tricky words to avoid</A ></DT ><DT >47.3.15. <A HREF="error-style-guide.html#AEN86341" >Proper spelling</A ></DT ><DT >47.3.16. <A HREF="error-style-guide.html#AEN86356" >Localization</A ></DT ></DL ></DD ></DL ></DIV ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="protocol-changes.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="source-format.html" ACCESSKEY="N" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >Summary of Changes since Protocol 2.0</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="internals.html" ACCESSKEY="U" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >Formatting</TD ></TR ></TABLE ></DIV ></BODY ></HTML >