Re: Upcoming PG re-releases

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Gavin Sherry <swm(at)linuxworld(dot)com(dot)au>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Upcoming PG re-releases
Date: 2005-12-08 22:44:34
Message-ID: 200512082244.jB8MiYT02161@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-www

Gavin Sherry wrote:
> On Tue, 6 Dec 2005, Bruce Momjian wrote:
>
> >
> > Exactly what does vim do that iconv does not? Fuzzy encoding sounds
> > scary to me.
> >
>
> Right. It actually makes assumptions about the source encoding. People who
> care about their data need, unfortunately, to spend a bit of time on this
> problem. I've been discussing the same issue on the slony1 mailing list,
> because the issue can affect people's ability upgrade using slony1.
>
> http://gborg.postgresql.org/pipermail/slony1-general/2005-December/003430.html
>
> It would be good if had the script I suggest in the email:
>
> A script which identifies non-utf-8 characters and provides some
> context, line numbers, etc, will greatly speed up the process of
> remedying the situation.

I think the best we can do is the "iconv -c with the diff" idea, which
is already in the release notes. I suppose we could merge the iconv and
diff into a single command, but I don't see a portable way to output the
iconv output to stdout., /dev/stdin not being portable.

--
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-hackers by date

  From Date Subject
Next Message Simon Riggs 2005-12-08 22:47:08 Re: [PATCHES] Inherited Constraints
Previous Message Gavin Sherry 2005-12-08 22:37:39 Re: Upcoming PG re-releases

Browse pgsql-www by date

  From Date Subject
Next Message Gregory Maxwell 2005-12-08 22:54:35 Re: Upcoming PG re-releases
Previous Message Gavin Sherry 2005-12-08 22:37:39 Re: Upcoming PG re-releases