On 2022-Jun-29, Robert Haas wrote: > On Wed, Jun 29, 2022 at 9:26 AM Peter Eisentraut > <peter.eisentr...@enterprisedb.com> wrote: > > On 28.06.22 21:10, Jeff Davis wrote: > > > + ereport(DEBUG1, errmsg("executing extension script: %s", filename)); > > > > This should either be elog or use errmsg_internal. > > Why?
The reason is that errmsg() marks the message for translation, and we don't want to burden translators with messages that are of little interest to most users. Using either elog() or errmsg_internal() avoids that. -- Álvaro Herrera Breisgau, Deutschland — https://www.EnterpriseDB.com/ "El sudor es la mejor cura para un pensamiento enfermo" (Bardia)