Literal NUL using COPY TO

Поиск
Список
Период
Сортировка
От François Beausoleil
Тема Literal NUL using COPY TO
Дата
Msg-id 94231212-5E0B-465F-A14E-F42CB7DEA2FA@teksol.info
обсуждение исходный текст
Ответы Re: Literal NUL using COPY TO
Список pgsql-general
Can one use COPY TO stdout to output a literal NUL byte as the delimiter?

# \encoding
UTF8
# copy (select * from q limit 1) to stdout with (format csv, delimiter E'\000', header false);
ERROR:  invalid byte sequence for encoding "UTF8": 0x00

# \encoding sql_ascii
# copy (select * from q limit 1) to stdout with (format csv, delimiter E'\000', header false);
ERROR:  invalid byte sequence for encoding "UTF8": 0x00

The archives of this list don't seem to have anything interesting, and Google doesn't either.

Thanks!
François

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

Предыдущее
От: Scott Marlowe
Дата:
Сообщение: Re: Problem with aborting entire transactions on error
Следующее
От: Dan S
Дата:
Сообщение: Bug in GET STACKED DIAGNOSTICS ?