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

Commitefd9d92

Browse files
committed
Fix compiler warning in unistr function
Some compilers are not aware that elog/ereport ERROR does not return.
1 parentff53d7b commitefd9d92

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6589,4 +6589,5 @@ unistr(PG_FUNCTION_ARGS)
65896589
ereport(ERROR,
65906590
(errcode(ERRCODE_SYNTAX_ERROR),
65916591
errmsg("invalid Unicode surrogate pair")));
6592+
PG_RETURN_NULL();/* keep compiler quiet */
65926593
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp