Re: pgsql-server/src backend/utils/adt/numutils.c ...

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Neil Conway <neilc(at)samurai(dot)com>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql-server/src backend/utils/adt/numutils.c ...
Date: 2002-08-28 02:48:32
Message-ID: 200208280248.g7S2mWS03546@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Neil Conway wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > Well, not really. It is more of a tightening up, where '' is not
> > really zero, it is ''.
>
> Sure, but "tightening up" is just another way to say "backward
> incompatible change". I'd agree this is a change we should make, I'm
> just not convinced that it's worth the backward compatibility hit.
>
> What if we just added an elog(WARNING) that said "Zero-length integer
> conversion is deprecated and will be removed in the near future", and
> then fixed this properly in 7.4? I usually dislike adding warnings,
> but I don't think that noting in the documentation that this feature
> is deprecated is sufficient in this case: information on this kind of
> behavior is nearly impossible to find in the docs.

I don't even think it was ever a feature. We are changing COPY's
handling of missing trailing fields, so this will fit right in. I
assume that will be the place it hits most.

Let's see if we get any pushback. We can always downgrade it to a
warning during beta.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2002-08-28 04:07:03 Re: pgsql-server/src backend/utils/adt/numutils.c ...
Previous Message Tom Lane 2002-08-27 22:12:47 Re: pgsql-server/src backend/utils/adt/numutils.c ...