[From Help Net Security]
PostgreSQL contains two vulnerabilities that could result in a Denial
of Service or unauthorized access to certain information.
PostgreSQL does not correctly check the data types of the SQL function
arguments under unspecified circumstances nor the format of the
provided tables in the query planner.
The article continues at
http://www.net-security.org/advisory.php?id=7316