PostgreSQL 15.8 EE 1.2.4 Documentation

The PostgreSQL Global Development Group

CYBERTEC PostgreSQL International GmbH

Legal Notice

Table of Contents

Preface
1. What Is PostgreSQL?
2. A Brief History of PostgreSQL
3. Conventions
4. Further Information
5. Bug Reporting Guidelines
I. Tutorial
1. Getting Started
2. The SQL Language
3. Advanced Features
II. The SQL Language
4. SQL Syntax
5. Data Definition
6. Data Manipulation
7. Queries
8. Data Types
9. Functions and Operators
10. Type Conversion
11. Indexes
12. Full Text Search
13. Concurrency Control
14. Performance Tips
15. Parallel Query
III. Server Administration
16. Installation from Binaries
17. Installation from Source Code
18. Installation from Source Code on Windows
19. Server Setup and Operation
20. Server Configuration
21. Client Authentication
22. Database Roles
23. Managing Databases
24. Localization
25. Routine Database Maintenance Tasks
26. Backup and Restore
27. High Availability, Load Balancing, and Replication
28. Monitoring Database Activity
29. Monitoring Disk Usage
30. Reliability and the Write-Ahead Log
31. Logical Replication
32. Just-in-Time Compilation (JIT)
33. Transparent Data Encryption
34. Data Masking
35. Regression Tests
IV. Client Interfaces
36. libpq — C Library
37. Large Objects
38. ECPG — Embedded SQL in C
39. The Information Schema
V. Server Programming
40. Extending SQL
41. Triggers
42. Event Triggers
43. The Rule System
44. Procedural Languages
45. PL/pgSQLSQL Procedural Language
46. PL/Tcl — Tcl Procedural Language
47. PL/Perl — Perl Procedural Language
48. PL/Python — Python Procedural Language
49. Server Programming Interface
50. Background Worker Processes
51. Logical Decoding
52. Replication Progress Tracking
53. Archive Modules
VI. Reference
I. SQL Commands
II. PostgreSQL Client Applications
III. PostgreSQL Server Applications
VII. Internals
54. Overview of PostgreSQL Internals
55. System Catalogs
56. System Views
57. Frontend/Backend Protocol
58. PostgreSQL Coding Conventions
59. Native Language Support
60. Writing a Procedural Language Handler
61. Writing a Foreign Data Wrapper
62. Writing a Table Sampling Method
63. Writing a Custom Scan Provider
64. Genetic Query Optimizer
65. Table Access Method Interface Definition
66. Index Access Method Interface Definition
67. Generic WAL Records
68. Custom WAL Resource Managers
69. B-Tree Indexes
70. GiST Indexes
71. SP-GiST Indexes
72. GIN Indexes
73. BRIN Indexes
74. Hash Indexes
75. Database Physical Storage
76. System Catalog Declarations and Initial Contents
77. How the Planner Uses Statistics
78. Backup Manifest Format
VIII. Appendixes
A. PostgreSQL Error Codes
B. Date/Time Support
C. SQL Key Words
D. SQL Conformance
E. Release Notes
F. Additional Supplied Modules
G. Additional Supplied Programs
H. External Projects
I. The Source Code Repository
J. Documentation
K. PostgreSQL Limits
L. Acronyms
M. Glossary
N. Color Support
O. Obsolete or Renamed Features
Bibliography
Index