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

Commit56b1e88

Browse files
committed
Fix compiler warning.
Some buildfarm members complained about an always-true test in theSOFT_ERROR_OCCURRED macro. Fix by reading the field directly ratherthan using the macro.Reported-by: Tom LaneDiscussion:https://postgr.es/m/2144895.1729653514@sss.pgh.pa.us
1 parent07d0069 commit56b1e88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/statistics/attribute_stats.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,7 @@ text_to_stavalues(const char *staname, FmgrInfo *array_in, Datum d, Oid typid,
633633

634634
pfree(s);
635635

636-
if (SOFT_ERROR_OCCURRED(&escontext))
636+
if (escontext.error_occurred)
637637
{
638638
if (elevel!=ERROR)
639639
escontext.error_data->elevel=elevel;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp