Chapter 46. PostgreSQL Coding Conventions

Table of Contents
46.1. Formatting
46.2. Reporting Errors Within the Server
46.3. Error Message Style Guide
46.3.1. What goes where
46.3.2. Formatting
46.3.3. Quotation marks
46.3.4. Use of quotes
46.3.5. Grammar and punctuation
46.3.6. Upper case vs. lower case
46.3.7. Avoid passive voice
46.3.8. Present vs past tense
46.3.9. Type of the object
46.3.10. Brackets
46.3.11. Assembling error messages
46.3.12. Reasons for errors
46.3.13. Function names
46.3.14. Tricky words to avoid
46.3.15. Proper spelling
46.3.16. Localization