Teodor Sigaev <teo...@sigaev.ru> writes: > Thanks for your idea, patch is attached
Looks mostly fine from here. A couple nitpicks: * s/translable/translatable/ * Personally I'd try harder to make the lookup table constant, that is + static const struct + { + enum jbvType type; + const char *msg; + } + messages[] = + { in hopes that it'd end up in the text segment. regards, tom lane