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

pgsql: Undo an unadvertised change in the API of pg_atoi.

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Undo an unadvertised change in the API of pg_atoi.
Date: 2005-01-09 21:03:20
Message-ID: 20050109210320.0AD453A5434@svr1.postgresql.org (view raw or flat)
Thread:
Lists: 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

Next:From: User AndrewdDate: 2005-01-09 22:11:25
Subject: pgbuildfarm - client-code: .
Previous:From: Tom LaneDate: 2005-01-09 20:08:51
Subject: pgsql: Clarify description of greedy and non-greedy POSIX regular

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