Use ereportif() where logging is predicated by a debug GUC.
No change in functionality here. The ereportif() macro avoids ereport() invocation if the preficate is not true. Fixed indentation in a couple of places on the way.
Showing
想要评论请 注册 或 登录