From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Roman <Roman_Khlystik(at)ukr(dot)net> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Can't replace default converter. |
Date: | 2009-03-31 13:42:45 |
Message-ID: | 8548.1238506965@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Roman <Roman_Khlystik(at)ukr(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2009-03-31 13:57:46 | Re: [GENERAL] pgstattuple triggered checkpoint failure and database outage? |
Previous Message | Robert Haas | 2009-03-31 13:23:04 | Re: Can't replace default converter. |