Sil Lee <leesil@gmail.com> writes:
> test1=> \copy t1 (col1) from '/opt/lgsec/dmp/test.dmp'
> \.
> PANIC: ERRORDATA_STACK_SIZE exceeded
> test1=>
> ^^; postmaster log
> WARNING: ignoring unconvertible UHC character 0xb85f
> CONTEXT: COPY t1, line 1: "/system/workbin/ë±ë½ì¢
??.TXT.20040319"
> WARNING: ignoring unconvertible UTF-8 character 0xeeb6f4
> CONTEXT: COPY t1, line 1: "/system/workbin/ë±ë½ì¢
??.TXT.20040319"
> WARNING: ignoring unconvertible UTF-8 character 0xeeb6f4
Good catch. It's trying to reverse-convert the COPY data line from server
encoding back to client encoding, which would be fine except the line is
still in client encoding :-(. I think we'll have to skip providing the
actual data line contents in this scenario.
regards, tom lane