On Wed, Aug 30, 2017 at 5:02 AM, Alvaro Herrera
<alvherre(at)2ndquadrant(dot)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