Re: WIN1252 encoding - backend or not?

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Magnus Hagander <mha(at)sollentuna(dot)net>, PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: WIN1252 encoding - backend or not?
Date: 2004-12-04 18:26:45
Message-ID: 200412041826.iB4IQjn05757@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
> "Magnus Hagander" <mha(at)sollentuna(dot)net> writes:
> > But further down we have:
> > #define PG_ENCODING_BE_LAST PG_WIN1250
>
> Scarier than that is grepping the source code for -i win125, and noting
> the number of places that cover the existing WIN125[016] encodings but
> fail to mention WIN1252. In particular I notice that pg_wchar_table[]
> in wchar.c has no entry added for WIN1252, which means that this patch
> broke every encoding with higher code numbers.
>
> Bruce, I think this patch has to come out. We should not be in the
> business of debugging a new feature post-RC1.

OK, patch backed out and all added files removed. I will save the idea
for 8.1.

As far as the patch itself, I don't think I ever claimed it was ready
for prime time --- rather, I followed process and it was applied. If
Tom saying "it isn't ready for prime time" meant "back it out", I didn't
read it that way. Of course anyone can ask for an applied patch to be
backed out, as per procedure, and it is easily done.

--
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

Attachment Content-Type Size
unknown_filename text/plain 2.5 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2004-12-04 18:46:36 Re: WIN1252 encoding - backend or not?
Previous Message Tom Lane 2004-12-04 17:59:58 Re: WIN1252 encoding - backend or not?