oracle-databasepostgresqlforeign-data-wrapperoracle-fdw

Postgres foreign data wrapper encoding issue


I'm trying to migrate Oracle data with 'we8mswin1252' encoding to my database which has 'UTF8' encoding.

I'm using foreign data wrapper.

I'm getting

invalid byte sequence error

What should i do?


Solution

  • Such errors can be caused by two things:

    There are two approaches to dealing with this problem: