DB Encoding question

From: Sbob <sbob(at)quadratum-braccas(dot)com>
To: Pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: DB Encoding question
Date: 2022-08-22 16:20:41
Message-ID: 3529b018-3fd6-0d60-02b1-06ee5db9ba82@quadratum-braccas.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

All;

We are converting from DB2 on the mainframe to PostgreSQL 14 in the
cloud. We have been using IIDR to dump DB2 tables to CSV files and then
using pg_loader / COPY to import the files. However the DB2 Encoding is
EBCDIC and the PostgreSQL db encoding is UTF8, this is causing some rows
/ columns to fail when we try to load the data into PostgreSQL

Will we be better off changing the PostgreSQL encoding to match the DB2
database? Will this cause other issues down the road? Is there a 'best
practice' for this use case?

Thanks in advance

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Bruce Momjian 2022-08-22 16:40:50 Re: DB Encoding question
Previous Message Kenny Bachman 2022-08-22 13:17:02 Re: Postgresql 14 performance