July 2005
Intermediate to advanced
1032 pages
27h 10m
English
When you want to build applications that access a PostgreSQL database, you use one (or more) of the client application programming interfaces (or APIs for short). PostgreSQL has a rich variety of APIs that support a number of programming languages.
PostgreSQL supports the APIs shown in Table 5.1.
| Interface Name | Supported Languages | Described In |
|---|---|---|
| libpq | C/C++ | Chapter 8 |
| libpgeasy | C/C++ | Chapter 9 |
| libpq++ | C++ | Chapter 10 |
| ecpg | C/C++ | Chapter 11 |
| ODBC | C/C++ | Chapter 12 |
| JDBC | Java | Chapter 13 |
| Perl | Perl | Chapter 14 |
| PHP[1] | PHP | Chapter 15 |
| pgtcl | TCL | Chapter 16 |
| PyGreSQL | Python | Chapter 17 |
| pg.el1 | Emacs Lisp | Not covered |
[1] The standard PostgreSQL distribution does not include the PHP or Emacs interfaces, but they are available separately on the Web.
Read now
Unlock full access