• Tom Lane's avatar
    When we are in error recursion trouble, arrange to suppress translation and · fd9e2acc
    Tom Lane authored
    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.
    fd9e2acc
elog.c 66.3 KB