pgsql: Remove the useless and rather inconsistent return values of - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Remove the useless and rather inconsistent return values of
Date
Msg-id 20090526021750.C4CEA75331E@cvs.postgresql.org
Whole thread Raw
List 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)

pgsql-committers by date:

Previous
From: bmomjian@pgfoundry.org (User Bmomjian)
Date:
Subject: pg-migrator - pg_migrator: Mention conversion issues and solutions.
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Allow the second argument of pg_get_expr() to be just zero when