pg_atoi patch for postgreSQL 6.3.

bill.allie@mug.org

From: "Billy G. Allie" <Bill.Allie@mug.org>
To: pgsql-patches@postgreSQL.org
Cc: pgsql-hackers@postgreSQL.org, pgsql-ports@postgreSQL.org
Date: 1998-03-01T06:54:30Z
Lists: pgsql-hackers

Attachments

The attached patch will ensure that pg_atoi will return 0 when passed an empty 
string regardless of what strtol will do with an empty string.  Some 
implementations of strtol will generate an error if passed an emtpy string.