mirror of
https://github.com/postgres/postgres.git
synced 2026-06-11 01:30:11 -04:00
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.
This commit is contained in:
parent
d7f8d26d9f
commit
9a81c9fa3f
1 changed files with 2 additions and 2 deletions
|
|
@ -5180,8 +5180,8 @@ TimestampTimestampTzRequiresRewrite(void)
|
|||
long offset;
|
||||
|
||||
if (pg_get_timezone_offset(session_timezone, &offset) && offset == 0)
|
||||
PG_RETURN_BOOL(false);
|
||||
PG_RETURN_BOOL(true);
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
/* timestamp_timestamptz()
|
||||
|
|
|
|||
Loading…
Reference in a new issue