On Wed, Aug 30, 2017 at 5:02 AM, Alvaro Herrera <alvhe...@2ndquadrant.com> wrote: > Eh, if you want to optimize it for the case where debug output is not > enabled, make sure to use ereport() not elog(). ereport() > short-circuits evaluation of arguments, whereas elog() does not.
I should do that, but it's still not really noticeable. -- Peter Geoghegan -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers