reject empty string in float[48], oid - Mailing list pgsql-patches

From Neil Conway
Subject reject empty string in float[48], oid
Date
Msg-id 1108085219.1286.202.camel@localhost.localdomain
Whole thread Raw
Responses Re: reject empty string in float[48], oid  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
This patch changes the input routines for float4, float8 and oid to
reject empty strings (rather than treating them as "0"). In 8.0 we issue
a warning about this behavior and indicate that the input will not be
accepted by a future release, so it seems reasonable to disallow the
input in 8.1. The patch also updates the regression tests.

Barring any objections, I'll apply this to HEAD tomorrow.

-Neil


Attachment

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: Clarify use of NOW() in pl/pgsql docs
Next
From: Tom Lane
Date:
Subject: Re: WIP: pl/pgsql cleanup