Re: problem converting database to UTF-8 - Mailing list pgsql-general

From Daniel Verite
Subject Re: problem converting database to UTF-8
Date
Msg-id af4ba1de-fb60-4ef1-9a80-2eae105200a8@mm
Whole thread Raw
In response to Re: problem converting database to UTF-8  (Alan Hodgson <ahodgson@simkin.ca>)
List pgsql-general
    Alan Hodgson wrote:

> Yeah it does. iconv buffers everything in memory, as I recall.
>
> However, you can "split" the file into manageable pieces, run each
through
> iconv, and recombine afterwards.

Another way is to just use GNU recode for large files instead of iconv.
It's slower but doesn't need much memory, contrary to iconv that indeed
seems to want the entire stream in memory before proceeding.

 Best regards,
--
 Daniel
 PostgreSQL-powered mail user agent and storage:
http://www.manitou-mail.org

pgsql-general by date:

Previous
From: Alan Hodgson
Date:
Subject: Re: problem converting database to UTF-8
Next
From: Vladimir Konrad
Date:
Subject: Re: problem converting database to UTF-8