Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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)

pgsql-committers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group