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.



____       | Billy G. Allie    | Domain....: Bill.Allie@mug.org
|  /|      | 7436 Hartwell     | Compuserve: 76337,2061
|-/-|----- | Dearborn, MI 48126| MSN.......: B_G_Allie@email.msn.com
|/  |LLIE  | (313) 582-1540    | 


____       | Billy G. Allie    | Domain....: Bill.Allie@mug.org
|  /|      | 7436 Hartwell     | Compuserve: 76337,2061
|-/-|----- | Dearborn, MI 48126| MSN.......: B_G_Allie@email.msn.com
|/  |LLIE  | (313) 582-1540    |
Sun, 01 Mar 1998 01:54:30 -0500
"Billy G. Allie" <Bill.Allie@mug.org>
pg_atoi patch for postgreSQL 6.3.