Part V. Server Programming
This part is about extending the server functionality with user-defined functions, data types, triggers, etc. These are advanced topics which should probably be approached only after all the other user documentation about PostgreSQL has been understood. Later chapters in this part describe the server-side programming languages available in the PostgreSQL distribution as well as general issues concerning server-side programming languages. It is essential to read at least the earlier sections of Chapter 36 (covering functions) before diving into the material about server-side programming languages.
Table of Contents
- 36. Extending SQL
- 36.1. How Extensibility Works
- 36.2. The PostgreSQL Type System
- 36.3. User-defined Functions
- 36.4. Query Language (SQL) Functions
- 36.5. Function Overloading
- 36.6. Function Volatility Categories
- 36.7. Procedural Language Functions
- 36.8. Internal Functions
- 36.9. C-Language Functions
- 36.10. User-defined Aggregates
- 36.11. User-defined Types
- 36.12. User-defined Operators
- 36.13. Operator Optimization Information
- 36.14. Interfacing Extensions To Indexes
- 36.15. Packaging Related Objects into an Extension
- 36.16. Extension Building Infrastructure
- 36.2. The PostgreSQL Type System
- 36.1. How Extensibility Works
- 37. Triggers
- 38. Event Triggers
- 39. The Rule System
- 40. Procedural Languages
- 41. PL/pgSQL - SQL Procedural Language
- 42. PL/Tcl - Tcl Procedural Language
- 42.1. Overview
- 42.2. PL/Tcl Functions and Arguments
- 42.3. Data Values in PL/Tcl
- 42.4. Global Data in PL/Tcl
- 42.5. Database Access from PL/Tcl
- 42.6. Trigger Procedures in PL/Tcl
- 42.7. Event Trigger Procedures in PL/Tcl
- 42.8. Error Handling in PL/Tcl
- 42.9. Modules and the
unknown
Command- 42.10. Tcl Procedure Names
- 42.2. PL/Tcl Functions and Arguments
- 42.1. Overview
- 43. PL/Perl - Perl Procedural Language
- 44. PL/Python - Python Procedural Language
- 45. Server Programming Interface
- 46. Background Worker Processes
- 47. Logical Decoding
- 47.1. Logical Decoding Examples
- 47.2. Logical Decoding Concepts
- 47.3. Streaming Replication Protocol Interface
- 47.4. Logical Decoding SQL Interface
- 47.5. System Catalogs Related to Logical Decoding
- 47.6. Logical Decoding Output Plugins
- 47.7. Logical Decoding Output Writers
- 47.8. Synchronous Replication Support for Logical Decoding
- 47.2. Logical Decoding Concepts
- 47.1. Logical Decoding Examples
- 48. Replication Progress Tracking