Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9a81c9f

Browse files
committed
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.
1 parentd7f8d26 commit9a81c9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backend/utils/adt/timestamp.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5180,8 +5180,8 @@ TimestampTimestampTzRequiresRewrite(void)
51805180
longoffset;
51815181

51825182
if (pg_get_timezone_offset(session_timezone,&offset)&&offset==0)
5183-
PG_RETURN_BOOL(false);
5184-
PG_RETURN_BOOL(true);
5183+
returnfalse;
5184+
returntrue;
51855185
}
51865186

51875187
/* timestamp_timestamptz()

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp