summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/include/utils/elog.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/utils/elog.h b/src/include/utils/elog.h
index a7cd8cb892..0f7c773662 100644
--- a/src/include/utils/elog.h
+++ b/src/include/utils/elog.h
@@ -142,7 +142,7 @@
#define ereport_domain(elevel, domain, rest) \
do { \
const int elevel_ = (elevel); \
- if (errstart(elevel, __FILE__, __LINE__, PG_FUNCNAME_MACRO, domain)) \
+ if (errstart(elevel_, __FILE__, __LINE__, PG_FUNCNAME_MACRO, domain)) \
errfinish rest; \
if (elevel_ >= ERROR) \
pg_unreachable(); \