Chapter 45. PostgreSQL Coding Conventions

Table of Contents
45.1. Formatting
45.2. Reporting Errors Within the Server
45.3. Error Message Style Guide
45.3.1. What goes where
45.3.2. Formatting
45.3.3. Quotation marks
45.3.4. Use of quotes
45.3.5. Grammar and punctuation
45.3.6. Upper case vs. lower case
45.3.7. Avoid passive voice
45.3.8. Present vs past tense
45.3.9. Type of the object
45.3.10. Brackets
45.3.11. Assembling error messages
45.3.12. Reasons for errors
45.3.13. Function names
45.3.14. Tricky words to avoid
45.3.15. Proper spelling
45.3.16. Localization