Re: Can't restore a pg_dump due to encoding errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dan Harris wrote:
Hello all:

I'm in a bit of a bind here. Today is my maintenance window for upgrading from 8.0.3 to 8.2.3. I did a pg_dumpall overnight ( resulting in a 72GB file ) and then a pg_dump on one of my small databases this morning to test pg_restore. When trying to reload, I'm getting the following error:

psql:sac.bak:2793776: ERROR: invalid byte sequence for encoding "UTF8": 0x92

I found the utility 'iconv', which sounds like it addresses this problem. I ran the utility against the dump file and then it loaded without error.. Just validating that the data is indeed there.





[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux