Commit 9a81c9fa authored by Noah Misch's avatar Noah Misch

Don't call PG_RETURN_BOOL() in a function not returning Datum.

This code is new in v12, and the defect probably was not user-visible.
parent d7f8d26d
...@@ -5180,8 +5180,8 @@ TimestampTimestampTzRequiresRewrite(void) ...@@ -5180,8 +5180,8 @@ TimestampTimestampTzRequiresRewrite(void)
long offset; long offset;
if (pg_get_timezone_offset(session_timezone, &offset) && offset == 0) if (pg_get_timezone_offset(session_timezone, &offset) && offset == 0)
PG_RETURN_BOOL(false); return false;
PG_RETURN_BOOL(true); return true;
} }
/* timestamp_timestamptz() /* timestamp_timestamptz()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment