Buffer overflow in the date parser for PostgreSQL before 7.2.2 allows attackers to cause a denial of service and possibly execute arbitrary code via a long date string, aka a vulnerability "in handling long datetime input."
http://www.redhat.com/support/errata/RHSA-2003-001.html
http://www.novell.com/linux/security/advisories/2002_038_postgresql.html
http://www.debian.org/security/2002/dsa-165
http://secunia.com/advisories/8034
http://marc.info/?l=postgresql-announce&m=103062536330644
http://marc.info/?l=bugtraq&m=103036987114437&w=2
http://marc.info/?l=bugtraq&m=103021186622725&w=2
http://marc.info/?l=bugtraq&m=102996089613404&w=2
http://marc.info/?l=bugtraq&m=102978152712430&w=2
http://archives.postgresql.org/pgsql-announce/2002-08/msg00004.php