On Sat, Nov 13, 2021 at 9:04 PM Alvaro Herrera <alvherre@alvh.no-ip.org> wrote: > > A bunch of these now execute snprintf()s unnecessarily. I think these > should be made conditional on message_level_is_interesting(DEBUG1) to > avoid that overhead.
Thanks. Attaching the v2 to avoid that by directly using the message in ereport instead of activitymsg.