From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
Cc: | pgsql-committers(at)postgresql(dot)org |
Subject: | Re: pgsql/src/backend/postmaster postmaster.c |
Date: | 2001-11-07 04:41:38 |
Message-ID: | 3370.1005108098@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers pgsql-hackers |
Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> Sorry, this sort of thing doesn't work with message internationalization.
Why not? Certainly the messages are in two parts, but I doubt there is
any language with grammar so irregular that it can't be made to work.
> I suggest you revert this and fix the one remaining message in the style
> the other ones are in.
If it were only the one erroneous message, I wouldn't have troubled.
But there were four (soon to be five) places that all had the same
problem, ie failure to cover the "can't happen" case. Repeating that
logic five times, producing fifteen somewhat-redundant error messages
to translate, didn't seem like a win. Especially not when I fully
expect there to be some #ifdefs in there soon to cover platforms that
don't have WIFEXITED and friends. The code as committed has one place
to fix such problems, not five.
I thought about alternative strategies like passing the noun phrase into
the formatExitStatus subroutine, but that didn't seem materially better.
Can you give a concrete example of a language where this really doesn't
work, keeping in mind that the original isn't exactly the Queen's
English either?
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | momjian | 2001-11-07 05:27:46 | pgsql/doc TODO |
Previous Message | momjian | 2001-11-07 03:12:20 | pgsql/. HISTORY |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2001-11-07 04:44:40 | Re: PL/pgSQL RENAME bug? |
Previous Message | Brent Verner | 2001-11-07 04:38:44 | Re: RelationFlushRelation() or RelationClearRelation() |