Postgres was originally developed at the University of California, Berkeley. It introduced many of the advanced object-relational concepts becoming popular in commercial databases. PostgreSQL is the most current incarnation of Postgres and is considered to be version 6. It implements almost all of the SQL specification. Best of all, it's free.

As with other sections in this chapter, the descriptions of the functions can't stand alone. You will have to study PostgreSQL to fully understand how they work. More information may be found at the official PostgreSQL Web site at <>. Zeev Suraski wrote the original Postgres extension. Jouni Ahto added support for large objects.

boolean pg_close(integer connection)

Use ...

Get Core PHP Programming: Using PHP to Build Dynamic Web Sites now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.