pgsql: Fix EncodeSpecialTimestamp to throw error on unrecognized input,

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix EncodeSpecialTimestamp to throw error on unrecognized input,
Date: 2008-10-14 15:44:29
Message-ID: 20081014154429.43BC07545A4@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Fix EncodeSpecialTimestamp to throw error on unrecognized input, rather than
returning a failure code that none of its callers bothered to check for.

Modified Files:
--------------
pgsql/src/backend/utils/adt:
timestamp.c (r1.192 -> r1.193)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/timestamp.c?r1=1.192&r2=1.193)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2008-10-14 17:12:33 pgsql: Extend the date type to support infinity and -infinity,
Previous Message Michael Meskes 2008-10-14 09:31:05 pgsql: Fixed parsing of parameters.