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 Postgres Pro has been understood. Later chapters in this part describe the server-side programming languages available in the Postgres Pro distribution as well as general issues concerning server-side programming languages. It is essential to read at least the earlier sections of Chapter 39 (covering functions) before diving into the material about server-side programming languages.
Table of Contents
- 39. Extending SQL
- 39.1. How Extensibility Works
- 39.2. The Postgres Pro Type System
- 39.3. User-defined Functions
- 39.4. User-defined Procedures
- 39.5. Query Language (SQL) Functions
- 39.6. Function Overloading
- 39.7. Function Volatility Categories
- 39.8. Procedural Language Functions
- 39.9. Internal Functions
- 39.10. C-Language Functions
- 39.11. User-defined Aggregates
- 39.12. User-defined Types
- 39.13. User-defined Operators
- 39.14. Operator Optimization Information
- 39.15. Interfacing Extensions To Indexes
- 39.16. Packaging Related Objects into an Extension
- 39.17. Extension Building Infrastructure
- 39.2. The Postgres Pro Type System
- 39.1. How Extensibility Works
- 40. Triggers
- 41. Event Triggers
- 42. The Rule System
- 43. Procedural Languages
- 44. PL/pgSQL - SQL Procedural Language
- 44.1. Overview
- 44.2. Structure of PL/pgSQL
- 44.3. Declarations
- 44.4. Expressions
- 44.5. Basic Statements
- 44.6. Control Structures
- 44.7. Cursors
- 44.8. Transaction Management
- 44.9. Errors and Messages
- 44.10. Trigger Functions
- 44.11. PL/pgSQL Under the Hood
- 44.12. Tips for Developing in PL/pgSQL
- 44.13. Porting from Oracle PL/SQL
- 44.2. Structure of PL/pgSQL
- 44.1. Overview
- 45. PL/Tcl - Tcl Procedural Language
- 45.1. Overview
- 45.2. PL/Tcl Functions and Arguments
- 45.3. Data Values in PL/Tcl
- 45.4. Global Data in PL/Tcl
- 45.5. Database Access from PL/Tcl
- 45.6. Trigger Functions in PL/Tcl
- 45.7. Event Trigger Functions in PL/Tcl
- 45.8. Error Handling in PL/Tcl
- 45.9. Explicit Subtransactions in PL/Tcl
- 45.10. Transaction Management
- 45.11. PL/Tcl Configuration
- 45.12. Tcl Procedure Names
- 45.2. PL/Tcl Functions and Arguments
- 45.1. Overview
- 46. PL/Perl - Perl Procedural Language
- 47. PL/Python - Python Procedural Language
- 48. Server Programming Interface
- 49. Background Worker Processes
- 50. Logical Decoding
- 50.1. Logical Decoding Examples
- 50.2. Logical Decoding Concepts
- 50.3. Streaming Replication Protocol Interface
- 50.4. Logical Decoding SQL Interface
- 50.5. System Catalogs Related to Logical Decoding
- 50.6. Logical Decoding Output Plugins
- 50.7. Logical Decoding Output Writers
- 50.8. Synchronous Replication Support for Logical Decoding
- 50.2. Logical Decoding Concepts
- 50.1. Logical Decoding Examples
- 51. Replication Progress Tracking