Re: ERRORDATA_STACK_SIZE exceeded (server crash) - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: ERRORDATA_STACK_SIZE exceeded (server crash)
Date
Msg-id 20081027164142.GG3866@alvh.no-ip.org
Whole thread Raw
In response to Re: ERRORDATA_STACK_SIZE exceeded (server crash)  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: ERRORDATA_STACK_SIZE exceeded (server crash)
List pgsql-hackers
Tom Lane escribió:

> It might be better to modify elog.c so that errmsg_internal really
> doesn't call gettext.  This would require kluging up EVALUATE_MESSAGE()
> a bit, so I'm not quite sure which is cleaner.  Thoughts?

I think we document somewhere that a translator can add errmsg_internal to the
list of gettext triggers in nls.mk, so I agree that we should making sure it
doesn't call gettext at all, just to be sure some overly zealous translator
gets past the barrier.

(Also, actually adding errmsg_internal is pretty pointless, because the
translated messages would be lost when the catalog is passed through our
new translation status web system).

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: ERRORDATA_STACK_SIZE exceeded (server crash)
Next
From: "Stephen R. van den Berg"
Date:
Subject: Re: Full socket send buffer prevents cancel, timeout