Re: copy command PANIC in --encoding='utf8' createdb option

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: copy command PANIC in --encoding='utf8' createdb option
Дата
Msg-id 19569.1099077610@sss.pgh.pa.us
обсуждение исходный текст
Ответ на copy command PANIC in --encoding='utf8' createdb option  (Sil Lee <leesil@gmail.com>)
Список pgsql-bugs
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

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: Insertion Deferrable
Следующее
От: Tom Lane
Дата:
Сообщение: Re: PostgreSQL 8.0 Beta 4 - Qualified ORDER BY column name not working on UNION query