Historical version. PostgreSQL 9.6 has reached end of support. 2021-11-11. See the current manual.
Chapter 52. PostgreSQL Coding Conventions
- Table of Contents
- 52.1. Formatting
- 52.2. Reporting Errors Within the Server
- 52.3. Error Message Style Guide
- 52.3.1. What Goes Where
- 52.3.2. Formatting
- 52.3.3. Quotation Marks
- 52.3.4. Use of Quotes
- 52.3.5. Grammar and Punctuation
- 52.3.6. Upper Case vs. Lower Case
- 52.3.7. Avoid Passive Voice
- 52.3.8. Present vs. Past Tense
- 52.3.9. Type of the Object
- 52.3.10. Brackets
- 52.3.11. Assembling Error Messages
- 52.3.12. Reasons for Errors
- 52.3.13. Function Names
- 52.3.14. Tricky Words to Avoid
- 52.3.15. Proper Spelling
- 52.3.16. Localization
- 52.4. Miscellaneous Coding Conventions
- 52.4.1. C Standard
- 52.4.2. Function-Like Macros and Inline Functions
- 52.4.3. Writing Signal Handlers
Report a documentation issue
Read the upstream documentation. For corrections, first check the current manual.