pgsql: Fix an ancient typo that prevented the detection of conflicting - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Fix an ancient typo that prevented the detection of conflicting
Date
Msg-id 20100802012502.DEF1E7541D5@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Fix an ancient typo that prevented the detection of conflicting fields when
interval input "invalid" was specified together with other fields.  Spotted
by Neil Conway with the help of a clang warning.  Although this has been
wrong since the interval code was written more than 10 years ago, it doesn't
affect anything beyond which error message you get for a wrong input, so not
worth back-patching very far.

Tags:
----
REL9_0_STABLE

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        datetime.c (r1.212 -> r1.212.2.1)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/datetime.c?r1=1.212&r2=1.212.2.1)
    pgsql/src/interfaces/ecpg/pgtypeslib:
        interval.c (r1.42 -> r1.42.10.1)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/ecpg/pgtypeslib/interval.c?r1=1.42&r2=1.42.10.1)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Fix an ancient typo that prevented the detection of conflicting
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Tweak a couple of macros in the regex code to suppress compiler