pgsql: Undo an unadvertised change in the API of pg_atoi. - Mailing list pgsql-committers

From tgl@svr1.postgresql.org (Tom Lane)
Subject pgsql: Undo an unadvertised change in the API of pg_atoi.
Date
Msg-id 20050109210320.0AD453A5434@svr1.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Undo an unadvertised change in the API of pg_atoi.  In all previous
releases, a nonzero 'c' argument meant that the input string could be
terminated by either that character or \0.  Recent refactoring broke
that, causing the thing to scan for 'c' only.  This went undetected
because no part of the main code actually passes nonzero 'c'.  However
it broke tsearch2 and possibly other user-written code that assumed
the old definition.  Per report from Tom Hebbron.

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        numutils.c (r1.67 -> r1.68)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/numutils.c.diff?r1=1.67&r2=1.68)

pgsql-committers by date:

Previous
From: tgl@svr1.postgresql.org (Tom Lane)
Date:
Subject: pgsql: Clarify description of greedy and non-greedy POSIX regular
Next
From: andrewd@pgfoundry.org (User Andrewd)
Date:
Subject: pgbuildfarm - client-code: .