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

Commit6971a83

Browse files
author
Amit Kapila
committed
Improve some error messages.
It is not our usual style to use "we" in the error messages.Author: Kyotaro HoriguchiReviewed-By: Amit KapilaDiscussion:https://postgr.es/m/20220914.111507.13049297635620898.horikyota.ntt@gmail.com
1 parent3f0c901 commit6971a83

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

‎src/backend/replication/pgoutput/pgoutput.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -441,13 +441,13 @@ pgoutput_startup(LogicalDecodingContext *ctx, OutputPluginOptions *opt,
441441
if (data->protocol_version>LOGICALREP_PROTO_MAX_VERSION_NUM)
442442
ereport(ERROR,
443443
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
444-
errmsg("client sent proto_version=%d butwe onlysupport protocol %d or lower",
444+
errmsg("client sent proto_version=%d butserver onlysupports protocol %d or lower",
445445
data->protocol_version,LOGICALREP_PROTO_MAX_VERSION_NUM)));
446446

447447
if (data->protocol_version<LOGICALREP_PROTO_MIN_VERSION_NUM)
448448
ereport(ERROR,
449449
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
450-
errmsg("client sent proto_version=%d butwe onlysupport protocol %d or higher",
450+
errmsg("client sent proto_version=%d butserver onlysupports protocol %d or higher",
451451
data->protocol_version,LOGICALREP_PROTO_MIN_VERSION_NUM)));
452452

453453
if (data->publication_names==NIL)

‎src/backend/storage/file/fd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -978,7 +978,7 @@ set_max_safe_fds(void)
978978
ereport(FATAL,
979979
(errcode(ERRCODE_INSUFFICIENT_RESOURCES),
980980
errmsg("insufficient file descriptors available to start server process"),
981-
errdetail("System allows %d,we need at least %d.",
981+
errdetail("System allows %d,server needs at least %d.",
982982
max_safe_fds+NUM_RESERVED_FDS,
983983
FD_MINFREE+NUM_RESERVED_FDS)));
984984

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp