Re: pgsql-server/src backend/utils/adt/numutils.c ...
От | Bruce Momjian |
---|---|
Тема | Re: pgsql-server/src backend/utils/adt/numutils.c ... |
Дата | |
Msg-id | 200208280248.g7S2mWS03546@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Re: pgsql-server/src backend/utils/adt/numutils.c ... (Neil Conway <neilc@samurai.com>) |
Ответы |
Re: pgsql-server/src backend/utils/adt/numutils.c ...
|
Список | pgsql-committers |
Neil Conway wrote: > Bruce Momjian <pgman@candle.pha.pa.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@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073
В списке pgsql-committers по дате отправления: