pgsql: Remove the useless and rather inconsistent return values of

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Remove the useless and rather inconsistent return values of
Date: 2009-05-26 02:17:50
Message-ID: 20090526021750.C4CEA75331E@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Remove the useless and rather inconsistent return values of EncodeDateOnly,
EncodeTimeOnly, EncodeDateTime, EncodeInterval. These don't have any good
reason to fail, and their callers were mostly not checking anyway.

Modified Files:
--------------
pgsql/src/backend/utils/adt:
datetime.c (r1.204 -> r1.205)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/datetime.c?r1=1.204&r2=1.205)
timestamp.c (r1.198 -> r1.199)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/timestamp.c?r1=1.198&r2=1.199)
pgsql/src/include/utils:
datetime.h (r1.72 -> r1.73)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/utils/datetime.h?r1=1.72&r2=1.73)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2009-05-26 17:36:06 pgsql: Allow the second argument of pg_get_expr() to be just zero when
Previous Message User Bmomjian 2009-05-26 01:55:55 pg-migrator - pg_migrator: Mention conversion issues and solutions.