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 38 (covering functions) before diving into the material about server-side programming languages.
Table of Contents
- 38. Extending SQL
-
- 38.1. How Extensibility Works
- 38.2. The PostgreSQL Type System
- 38.3. User-defined Functions
- 38.4. User-defined Procedures
- 38.5. Query Language ( SQL ) Functions
- 38.6. Function Overloading
- 38.7. Function Volatility Categories
- 38.8. Procedural Language Functions
- 38.9. Internal Functions
- 38.10. C-Language Functions
- 38.11. User-defined Aggregates
- 38.12. User-defined Types
- 38.13. User-defined Operators
- 38.14. Operator Optimization Information
- 38.15. Interfacing Extensions To Indexes
- 38.16. Packaging Related Objects into an Extension
- 38.17. Extension Building Infrastructure
- 39. Triggers
- 40. Event Triggers
- 41. The Rule System
- 42. Procedural Languages
- 43. PL/pgSQL - SQL Procedural Language
-
- 43.1. Overview
- 43.2. Structure of PL/pgSQL
- 43.3. Declarations
- 43.4. Expressions
- 43.5. Basic Statements
- 43.6. Control Structures
- 43.7. Cursors
- 43.8. Transaction Management
- 43.9. Errors and Messages
- 43.10. Trigger Functions
- 43.11. PL/pgSQL Under the Hood
- 43.12. Tips for Developing in PL/pgSQL
- 43.13. Porting from Oracle PL/SQL
- 44. PL/Tcl - Tcl Procedural Language
-
- 44.1. Overview
- 44.2. PL/Tcl Functions and Arguments
- 44.3. Data Values in PL/Tcl
- 44.4. Global Data in PL/Tcl
- 44.5. Database Access from PL/Tcl
- 44.6. Trigger Functions in PL/Tcl
- 44.7. Event Trigger Functions in PL/Tcl
- 44.8. Error Handling in PL/Tcl
- 44.9. Explicit Subtransactions in PL/Tcl
- 44.10. Transaction Management
- 44.11. PL/Tcl Configuration
- 44.12. Tcl Procedure Names
- 45. PL/Perl - Perl Procedural Language
- 46. PL/Python - Python Procedural Language
- 47. Server Programming Interface
- 48. Background Worker Processes
- 49. Logical Decoding
-
- 49.1. Logical Decoding Examples
- 49.2. Logical Decoding Concepts
- 49.3. Streaming Replication Protocol Interface
- 49.4. Logical Decoding SQL Interface
- 49.5. System Catalogs Related to Logical Decoding
- 49.6. Logical Decoding Output Plugins
- 49.7. Logical Decoding Output Writers
- 49.8. Synchronous Replication Support for Logical Decoding
- 50. Replication Progress Tracking