pgsql: When we are in error recursion trouble, arrange to suppress - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: When we are in error recursion trouble, arrange to suppress
Date
Msg-id 20090302211857.C5E0F755AA5@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
When we are in error recursion trouble, arrange to suppress translation and
encoding conversion of any elog/ereport message being sent to the frontend.
This generalizes a patch that I put in last October, which suppressed
translation of only specific messages known to be associated with recursive
can't-translate-the-message behavior.  As shown in bug #4680, we need a more
general answer in order to have some hope of coping with broken encoding
conversion setups.  This approach seems a good deal less klugy anyway.

Patch in all supported branches.

Tags:
----
REL8_2_STABLE

Modified Files:
--------------
    pgsql/src/backend/libpq:
        pqformat.c (r1.42 -> r1.42.2.1)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/libpq/pqformat.c?r1=1.42&r2=1.42.2.1)
    pgsql/src/backend/utils/error:
        elog.c (r1.178.2.6 -> r1.178.2.7)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/error/elog.c?r1=1.178.2.6&r2=1.178.2.7)
    pgsql/src/backend/utils/mb:
        wchar.c (r1.58.2.4 -> r1.58.2.5)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/mb/wchar.c?r1=1.58.2.4&r2=1.58.2.5)
    pgsql/src/include/libpq:
        pqformat.h (r1.24 -> r1.24.2.1)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/libpq/pqformat.h?r1=1.24&r2=1.24.2.1)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: When we are in error recursion trouble, arrange to suppress
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: When we are in error recursion trouble, arrange to suppress