17.7. Postgres

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. 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 it works. More information may be found at the official PostgreSQL Web site at <http://www.postgresql.org/>.

Zeev Suraski wrote the original PostgreSQL extension. Jouni Ahto added support for large objects.

integer pg_affected_rows(resource result)

The pg_affected_rows function ...

Get Core PHP Programming, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.