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

Commit7ce2a45

Browse files
committed
Message improvements
1 parent308ab77 commit7ce2a45

File tree

8 files changed

+10
-10
lines changed

8 files changed

+10
-10
lines changed

‎src/backend/access/nbtree/nbtpage.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1186,7 +1186,7 @@ _bt_pagedel(Relation rel, Buffer buf)
11861186
(errcode(ERRCODE_INDEX_CORRUPTED),
11871187
errmsg("index \"%s\" contains a half-dead internal page",
11881188
RelationGetRelationName(rel)),
1189-
errhint("This can be caused by aninterrupt VACUUM in version 9.3 or older, before upgrade. Please REINDEX it.")));
1189+
errhint("This can be caused by aninterrupted VACUUM in version 9.3 or older, before upgrade. Please REINDEX it.")));
11901190
_bt_relbuf(rel,buf);
11911191
returnndeleted;
11921192
}

‎src/backend/access/transam/xlog.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5204,8 +5204,8 @@ readRecoveryCommandFile(void)
52045204
else
52055205
ereport(ERROR,
52065206
(errcode(ERRCODE_INVALID_PARAMETER_VALUE),
5207-
errmsg("invalidrecovery_targetparameter"),
5208-
errhint("The only allowed value is'immediate'")));
5207+
errmsg("invalidvalue for recoveryparameter \"recovery_target\""),
5208+
errhint("The only allowed value is\"immediate\".")));
52095209
ereport(DEBUG2,
52105210
(errmsg_internal("recovery_target = '%s'",
52115211
item->value)));
@@ -5268,7 +5268,7 @@ readRecoveryCommandFile(void)
52685268
"recovery_min_apply_delay"),
52695269
hintmsg ?errhint("%s",_(hintmsg)) :0));
52705270
ereport(DEBUG2,
5271-
(errmsg("recovery_min_apply_delay = '%s'",item->value)));
5271+
(errmsg_internal("recovery_min_apply_delay = '%s'",item->value)));
52725272
}
52735273
else
52745274
ereport(FATAL,

‎src/backend/commands/dbcommands.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -817,7 +817,7 @@ dropdb(const char *dbname, bool missing_ok)
817817
if (ReplicationSlotsCountDBSlots(db_id,&nslots,&nslots_active))
818818
ereport(ERROR,
819819
(errcode(ERRCODE_OBJECT_IN_USE),
820-
errmsg("database \"%s\" is used by a logicaldecoding slot",
820+
errmsg("database \"%s\" is used by a logicalreplication slot",
821821
dbname),
822822
errdetail_plural("There is %d slot, %d of them active.",
823823
"There are %d slots, %d of them active.",

‎src/backend/commands/matview.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ refresh_by_match_merge(Oid matviewOid, Oid tempOid, Oid relowner,
588588
{
589589
ereport(ERROR,
590590
(errcode(ERRCODE_CARDINALITY_VIOLATION),
591-
errmsg("new data for \"%s\" contains duplicate rows without anyNULL columns",
591+
errmsg("new data for \"%s\" contains duplicate rows without anynull columns",
592592
RelationGetRelationName(matviewRel)),
593593
errdetail("Row: %s",
594594
SPI_getvalue(SPI_tuptable->vals[0],SPI_tuptable->tupdesc,1))));

‎src/backend/commands/tablecmds.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8945,7 +8945,7 @@ ATExecSetRelOptions(Relation rel, List *defList, AlterTableType operation,
89458945
if (view_updatable_error)
89468946
ereport(ERROR,
89478947
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
8948-
errmsg("WITH CHECK OPTION is supported only onauto-updatable views"),
8948+
errmsg("WITH CHECK OPTION is supported only onautomaticallyupdatable views"),
89498949
errhint("%s",view_updatable_error)));
89508950
}
89518951
}

‎src/backend/commands/view.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ DefineView(ViewStmt *stmt, const char *queryString)
471471
if (view_updatable_error)
472472
ereport(ERROR,
473473
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
474-
errmsg("WITH CHECK OPTION is supported only onauto-updatable views"),
474+
errmsg("WITH CHECK OPTION is supported only onautomaticallyupdatable views"),
475475
errhint("%s",view_updatable_error)));
476476
}
477477

‎src/backend/libpq/be-secure.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ secure_write(Port *port, void *ptr, size_t len)
381381
if (retries >=20)
382382
ereport(FATAL,
383383
(errcode(ERRCODE_PROTOCOL_VIOLATION),
384-
errmsg("unable to complete SSL handshake")));
384+
errmsg("could not complete SSL handshake on renegotiation, too many failures")));
385385
}
386386
}
387387
}

‎src/test/regress/expected/matview.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ REFRESH MATERIALIZED VIEW mv;
411411
ERROR: could not create unique index "mv_a_idx"
412412
DETAIL: Key (a)=(1) is duplicated.
413413
REFRESH MATERIALIZED VIEW CONCURRENTLY mv;
414-
ERROR: new data for "mv" contains duplicate rows without anyNULL columns
414+
ERROR: new data for "mv" contains duplicate rows without anynull columns
415415
DETAIL: Row: (1,10)
416416
DROP TABLE foo CASCADE;
417417
NOTICE: drop cascades to materialized view mv

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp