Part V. Server Programming#
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 Tantor SE has been understood. Later chapters in this part describe the server-side programming languages available in the Tantor SE 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 Tantor SE Type System
- 36.3. User-Defined Functions
- 36.4. User-Defined Procedures
- 36.5. Query Language (SQL) Functions
- 36.6. Function Overloading
- 36.7. Function Volatility Categories
- 36.8. Procedural Language Functions
- 36.9. Internal Functions
- 36.10. Function Optimization Information
- 36.11. User-Defined Aggregates
- 36.12. User-Defined Types
- 36.13. User-Defined Operators
- 36.14. Operator Optimization Information
- 36.15. Interfacing Extensions to Indexes
- 36.16. Packaging Related Objects into an Extension
- 36.17. Extension Building Infrastructure
- 37. Triggers
- 38. Event Triggers
- 39. The Rule System
- 40. Procedural Languages
- 41. PL/pgSQL — SQL Procedural Language
- 41.1. Overview
- 41.2. Structure of PL/pgSQL
- 41.3. Declarations
- 41.4. Expressions
- 41.5. Basic Statements
- 41.6. Control Structures
- 41.7. Cursors
- 41.8. Transaction Management
- 41.9. Errors and Messages
- 41.10. Trigger Functions
- 41.11. PL/pgSQL under the Hood
- 41.12. Tips for Developing in PL/pgSQL
- 41.13. Porting from Oracle PL/SQL
- 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 Functions in PL/Tcl
- 42.7. Event Trigger Functions in PL/Tcl
- 42.8. Error Handling in PL/Tcl
- 42.9. Explicit Subtransactions in PL/Tcl
- 42.10. Transaction Management
- 42.11. PL/Tcl Configuration
- 42.12. Tcl Procedure Names
- 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.9. Streaming of Large Transactions for Logical Decoding
- 47.10. Two-phase Commit Support for Logical Decoding
- 48. Replication Progress Tracking
- 49. Archive Modules
- Chapter 36. Extending SQL
- Chapter 37. Triggers
- Chapter 38. Event Triggers
- Chapter 39. The Rule System
- Chapter 40. Procedural Languages
- Chapter 41. PL/pgSQL — SQL Procedural Language
- Chapter 42. PL/Tcl — Tcl Procedural Language
- Chapter 43. PL/Perl — Perl Procedural Language
- Chapter 44. PL/Python — Python Procedural Language
- Chapter 45. Server Programming Interface
- Chapter 46. Background Worker Processes
- Chapter 47. Logical Decoding
- Chapter 48. Replication Progress Tracking
- Chapter 49. Archive Modules