Hello. I forgot to mention a point.
At Fri, 22 Mar 2019 14:02:36 +0900, Masahiko Sawada <[email protected]>
wrote in <cad21aod7rqzppyv7z4bku8mn8ae2_krdw1hto4lrsp+vn_u...@mail.gmail.com>
> Attached the updated version patch. 0001 patch allows all existing
> vacuum options an boolean argument. 0002 patch introduces parallel
> lazy vacuum. 0003 patch adds -P (--parallel) option to vacuumdb
> command.
> + if (IsParallelWorker())
> + msg = "scanned index \"%s\" to remove %d row versions by parallel
> vacuum worker";
> + else
> + msg = "scanned index \"%s\" to remove %d row versions";
> ereport(elevel,
> - (errmsg("scanned index \"%s\" to remove %d row versions",
> + (errmsg(msg,
> RelationGetRelationName(indrel),
> - vacrelstats->num_dead_tuples),
> + dead_tuples->num_tuples),
The msg prevents NLS from working. Please enclose the right-hand
literals by gettext_noop().
regards.
--
Kyotaro Horiguchi
NTT Open Source Software Center