Skip site navigation (1) Skip section navigation (2)

reject empty string in float[48], oid

From: Neil Conway <neilc(at)samurai(dot)com>
To: pgsql-patches <pgsql-patches(at)postgresql(dot)org>
Subject: reject empty string in float[48], oid
Date: 2005-02-11 01:26:59
Message-ID: 1108085219.1286.202.camel@localhost.localdomain (view raw, whole thread or download thread mbox)
Lists: 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.


Attachment: float_oid_empty_string-1.patch
Description: text/x-patch (12.5 KB)


pgsql-patches by date

Next:From: Tom LaneDate: 2005-02-11 01:48:08
Subject: Re: WIP: pl/pgsql cleanup
Previous:From: Tom LaneDate: 2005-02-11 00:36:44
Subject: Re: Clarify use of NOW() in pl/pgsql docs

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group