pg_atoi patch for postgreSQL 6.3.

From: "Billy G(dot) Allie" <Bill(dot)Allie(at)mug(dot)org>
To: pgsql-patches(at)postgreSQL(dot)org
Cc: pgsql-hackers(at)postgreSQL(dot)org, pgsql-ports(at)postgreSQL(dot)org
Subject: pg_atoi patch for postgreSQL 6.3.
Date: 1998-03-01 06:54:30
Message-ID: m0y92dq-0009h0C@bgalli.mug.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Attachment Content-Type Size
patch.02 text/plain 506 bytes

Browse pgsql-hackers by date

  From Date Subject
Next Message Cristian Gafton 1998-03-01 09:23:53 Re: [HACKERS] Re: [QUESTIONS] 6.2.1 COPY X FROM stdin; -- broken pipe
Previous Message Bruce Momjian 1998-03-01 05:40:31 INSERT with GROUP