]> granicus.if.org Git - postgresql/commit
Undo an unadvertised change in the API of pg_atoi. In all previous
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 9 Jan 2005 21:03:19 +0000 (21:03 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 9 Jan 2005 21:03:19 +0000 (21:03 +0000)
commit521e8888e98b24a9d5787a1848360c7286463e1a
treed6838b652585f6f9e5be5f6fbe5a8f8e50dd8173
parent0471cd5f62a4dc85902e4cf11c21933ac9684c52
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.
src/backend/utils/adt/numutils.c