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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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)

Browse pgsql-committers by date

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