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

Commit009bd23

Browse files
committed
Fix error message wordings
The original patch for percentrepl.cc96de2c adopted the errormessages from basebackup_to_shell, but that uses terminology thatdoesn't really fit with the new API naming.
1 parent093e5c5 commit009bd23

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/common/percentrepl.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,16 +113,16 @@ replace_percent_placeholders(const char *instr, const char *param_name, const ch
113113
va_end(ap);
114114
if (!found)
115115
{
116-
/* Unknownescape sequence */
116+
/* Unknownplaceholder */
117117
#ifdefFRONTEND
118118
pg_log_error("invalid value for parameter \"%s\": \"%s\"",param_name,instr);
119-
pg_log_error_detail("String contains unexpectedescape sequence \"%c\".",*sp);
119+
pg_log_error_detail("String contains unexpectedplaceholder \"%%%c\".",*sp);
120120
exit(1);
121121
#else
122122
ereport(ERROR,
123123
errcode(ERRCODE_INVALID_PARAMETER_VALUE),
124124
errmsg("invalid value for parameter \"%s\": \"%s\"",param_name,instr),
125-
errdetail("String contains unexpectedescape sequence \"%c\".",*sp));
125+
errdetail("String contains unexpectedplaceholder \"%%%c\".",*sp));
126126
#endif
127127
}
128128
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp