pg_atoi patch for postgreSQL 6.3. - Mailing list pgsql-hackers

From Billy G. Allie
Subject pg_atoi patch for postgreSQL 6.3.
Date
Msg-id m0y92dq-0009h0C@bgalli.mug.org
Whole thread Raw
List pgsql-hackers
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    |

Attachment

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: INSERT with GROUP
Next
From: Cristian Gafton
Date:
Subject: Re: [HACKERS] Re: [QUESTIONS] 6.2.1 COPY X FROM stdin; -- broken pipe