PostgreSQL 9.0 Reference Manual - Volume 2: Programming Guide