Undo an unadvertised change in the API of pg_atoi. In all previous

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 521e8888e98b24a9d5787a1848360c7286463e1a
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2005-01-09T21:03:19Z
Releases: 8.0.0
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.

Files

PathChange+/−
src/backend/utils/adt/numutils.c modified +7 −7