Skip site navigation (1) Skip section navigation (2)

pgsql: Install a more robust solution for the problem of infinite

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Install a more robust solution for the problem of infinite
Date: 2008-10-27 19:37:48
Message-ID: 20081027193748.819817545A4@cvs.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Install a more robust solution for the problem of infinite error-processing
recursion when we are unable to convert a localized error message to the
client's encoding.  We've been over this ground before, but as reported by
Ibrar Ahmed, it still didn't work in the case of conversion failures for
the conversion-failure message itself :-(.  Fix by installing a "circuit
breaker" that disables attempts to localize this message once we get into
recursion trouble.

Patch all supported branches, because it is in fact broken in all of them;
though I had to add some missing translations to the older branches in
order to expose the failure in the particular test case I was using.

Tags:
----
REL8_0_STABLE

Modified Files:
--------------
    pgsql/doc/src/sgml:
        sources.sgml (r2.16 -> r2.16.4.1)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/sources.sgml?r1=2.16&r2=2.16.4.1)
    pgsql/src/backend:
        nls.mk (r1.19 -> r1.19.4.1)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/nls.mk?r1=1.19&r2=1.19.4.1)
    pgsql/src/backend/utils/error:
        elog.c (r1.155.4.8 -> r1.155.4.9)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/error/elog.c?r1=1.155.4.8&r2=1.155.4.9)
    pgsql/src/backend/utils/mb:
        wchar.c (r1.40.4.4 -> r1.40.4.5)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/mb/wchar.c?r1=1.40.4.4&r2=1.40.4.5)
    pgsql/src/include/utils:
        elog.h (r1.78 -> r1.78.4.1)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/utils/elog.h?r1=1.78&r2=1.78.4.1)

pgsql-committers by date

Next:From: Tom LaneDate: 2008-10-27 19:37:56
Subject: pgsql: Install a more robust solution for the problem of infinite
Previous:From: Tom LaneDate: 2008-10-27 19:37:42
Subject: pgsql: Install a more robust solution for the problem of infinite

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group