Chapter 51. PostgreSQL Coding Conventions

Table of Contents
51.1. Formatting
51.2. Reporting Errors Within the Server
51.3. Error Message Style Guide
51.3.1. What Goes Where
51.3.2. Formatting
51.3.3. Quotation Marks
51.3.4. Use of Quotes
51.3.5. Grammar and Punctuation
51.3.6. Upper Case vs. Lower Case
51.3.7. Avoid Passive Voice
51.3.8. Present vs. Past Tense
51.3.9. Type of the Object
51.3.10. Brackets
51.3.11. Assembling Error Messages
51.3.12. Reasons for Errors
51.3.13. Function Names
51.3.14. Tricky Words to Avoid
51.3.15. Proper Spelling
51.3.16. Localization