Supported Versions: Current (16) / 15 / 14 / 13 / 12
Development Versions: devel
Unsupported versions: 11 / 10 / 9.6 / 9.5 / 9.4 / 9.3 / 9.2 / 9.1 / 9.0 / 8.4 / 8.3 / 8.2 / 8.1 / 8.0 / 7.4 / 7.3 / 7.2
This documentation is for an unsupported version of PostgreSQL.
You may want to view the same page for the current version, or one of the other supported versions listed above instead.

PostgreSQL 8.1.23 Documentation

The PostgreSQL Global Development Group


Table of Contents
Preface
What is PostgreSQL?
A Brief History of PostgreSQL
Conventions
Further Information
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. Concurrency Control
13. Performance Tips
III. Server Administration
14. Installation Instructions
15. Client-Only Installation on Windows
16. Operating System Environment
17. Server Configuration
18. Database Roles and Privileges
19. Managing Databases
20. Client Authentication
21. Localization
22. Routine Database Maintenance Tasks
23. Backup and Restore
24. Monitoring Database Activity
25. Monitoring Disk Usage
26. Reliability and the Write-Ahead Log
27. Regression Tests
IV. Client Interfaces
28. libpq - C Library
29. Large Objects
30. ECPG - Embedded SQL in C
31. The Information Schema
V. Server Programming
32. Extending SQL
33. Triggers
34. The Rule System
35. Procedural Languages
36. PL/pgSQL - SQL Procedural Language
37. PL/Tcl - Tcl Procedural Language
38. PL/Perl - Perl Procedural Language
39. PL/Python - Python Procedural Language
40. Server Programming Interface
VI. Reference
I. SQL Commands
II. PostgreSQL Client Applications
III. PostgreSQL Server Applications
VII. Internals
41. Overview of PostgreSQL Internals
42. System Catalogs
43. Frontend/Backend Protocol
44. PostgreSQL Coding Conventions
45. Native Language Support
46. Writing A Procedural Language Handler
47. Genetic Query Optimizer
48. Index Access Method Interface Definition
49. GiST Indexes
50. Database Physical Storage
51. BKI Backend Interface
52. How the Planner Uses Statistics
VIII. Appendixes
A. PostgreSQL Error Codes
B. Date/Time Support
C. SQL Key Words
D. SQL Conformance
E. Release Notes
F. The Source Code Repository
G. Documentation
H. External Projects
Bibliography
Index