On 2020-Feb-18, David Zhang wrote: > 3. I think a better way to resolve this issue will still be the solution > with an extra %m, which can make the error message much more informative to > the end users.
Yes, agreed. However, we use a style like this: pg_log_error("could not print tuples: %m"); -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services