OSDN Git Service

Emit a warning when an empty string is input to the oid, float4, and
authorNeil Conway <neilc@samurai.com>
Thu, 4 Mar 2004 21:47:18 +0000 (21:47 +0000)
committerNeil Conway <neilc@samurai.com>
Thu, 4 Mar 2004 21:47:18 +0000 (21:47 +0000)
commit2146bfc869bfd4967b0bbf260f386344f02506b9
tree9d1f0efd11e8cc894ab77df44344ba344ab17a4a
parent0b1f7cccd72047be738f97d2ed3d00ae93743c74
Emit a warning when an empty string is input to the oid, float4, and
float8 types. This begins the deprecation of this feature: in 7.6,
this input will be rejected.

Also added a new error code for warnings about deprecated features,
and updated the regression tests.
doc/src/sgml/errcodes.sgml
src/backend/utils/adt/float.c
src/backend/utils/adt/oid.c
src/include/utils/errcodes.h
src/test/regress/expected/oid.out
src/test/regress/sql/oid.sql