Re: Can't replace default converter.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Can't replace default converter.
Дата
Msg-id 8548.1238506965@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Can't replace default converter.  (Roman <Roman_Khlystik@ukr.net>)
Список pgsql-hackers
Roman <Roman_Khlystik@ukr.net> writes:
> db_server=# set client_encoding to 'alt';
> server closed the connection unexpectedly
>        This probably means the server terminated abnormally
>        before or while processing the request.
> The connection to the server was lost. Attempting reset: Failed.

> Is anyone can tell me what I'm doing wrong?

Two suggestions:

1. Use the latest release (from two weeks ago).  You are probably
tickling the bug that causes a failure in an output converter to
become an infinite recursion.

2. Don't try to replace the output converter.  You don't seem to
need that for your stated problem, and doing so exposes you to
problems in figuring out what's going wrong.

Also, yes, you will need to drop the system's conversion function
(or else mess with your search_path to make yours be found first).
        regards, tom lane


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Can't replace default converter.
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [GENERAL] pgstattuple triggered checkpoint failure and database outage?