PostgreSQL 16.4 Documentation

The PostgreSQL Global Development Group

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. Binary Installation
20. Server Setup and Operation
21. Server Configuration
22. Client Authentication
23. Database Roles
24. Managing Databases
25. Localization
26. Routine Database Maintenance Tasks
27. Backup and Restore
28. High Availability, Load Balancing, and Replication
29. Monitoring Database Activity
30. Monitoring Disk Usage
31. Reliability and the Write-Ahead Log
32. Logical Replication
33. Just-in-Time Compilation (JIT)
34. Regression Tests
IV. Client Interfaces
35. libpq — C Library
36. Large Objects
37. ECPG — Embedded SQL in C
38. The Information Schema
V. Server Programming
39. Extending SQL
40. Triggers
41. Event Triggers
42. The Rule System
43. Procedural Languages
44. PL/pgSQLSQL Procedural Language
45. PL/Tcl — Tcl Procedural Language
46. PL/Perl — Perl Procedural Language
47. PL/Python — Python Procedural Language
48. Server Programming Interface
49. Background Worker Processes
50. Logical Decoding
51. Replication Progress Tracking
52. Archive Modules
VI. Reference
I. SQL Commands
II. PostgreSQL Client Applications
III. PostgreSQL Server Applications
VII. Internals
53. Overview of PostgreSQL Internals
54. System Catalogs
55. System Views
56. Frontend/Backend Protocol
57. PostgreSQL Coding Conventions
58. Native Language Support
59. Writing a Procedural Language Handler
60. Writing a Foreign Data Wrapper
61. Writing a Table Sampling Method
62. Writing a Custom Scan Provider
63. Genetic Query Optimizer
64. Table Access Method Interface Definition
65. Index Access Method Interface Definition
66. Generic WAL Records
67. Custom WAL Resource Managers
68. B-Tree Indexes
69. GiST Indexes
70. SP-GiST Indexes
71. GIN Indexes
72. BRIN Indexes
73. Hash Indexes
74. Database Physical Storage
75. Transaction Processing
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 and Extensions
G. Additional Supplied Programs
H. External Projects
I. The Source Code Repository
J. Documentation
K. Configuring PostgreSQL for 1C Solutions
L. PostgreSQL Limits
M. Acronyms
N. Glossary
O. Color Support
P. Obsolete or Renamed Features
Bibliography
Index