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

Commitb7a08c8

Browse files
committed
Message improvements
1 parentdc9c612 commitb7a08c8

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
@@ -5193,8 +5193,8 @@ readRecoveryCommandFile(void)
51935193
else
51945194
ereport(ERROR,
51955195
(errcode(ERRCODE_INVALID_PARAMETER_VALUE),
5196-
errmsg("invalidrecovery_targetparameter"),
5197-
errhint("The only allowed value is'immediate'")));
5196+
errmsg("invalidvalue for recoveryparameter \"recovery_target\""),
5197+
errhint("The only allowed value is\"immediate\".")));
51985198
ereport(DEBUG2,
51995199
(errmsg_internal("recovery_target = '%s'",
52005200
item->value)));
@@ -5257,7 +5257,7 @@ readRecoveryCommandFile(void)
52575257
"recovery_min_apply_delay"),
52585258
hintmsg ?errhint("%s",_(hintmsg)) :0));
52595259
ereport(DEBUG2,
5260-
(errmsg("recovery_min_apply_delay = '%s'",item->value)));
5260+
(errmsg_internal("recovery_min_apply_delay = '%s'",item->value)));
52615261
}
52625262
else
52635263
ereport(FATAL,

‎src/backend/commands/dbcommands.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -839,7 +839,7 @@ dropdb(const char *dbname, bool missing_ok)
839839
if (ReplicationSlotsCountDBSlots(db_id,&nslots,&nslots_active))
840840
ereport(ERROR,
841841
(errcode(ERRCODE_OBJECT_IN_USE),
842-
errmsg("database \"%s\" is used by a logicaldecoding slot",
842+
errmsg("database \"%s\" is used by a logicalreplication slot",
843843
dbname),
844844
errdetail_plural("There is %d slot, %d of them active.",
845845
"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
@@ -597,7 +597,7 @@ refresh_by_match_merge(Oid matviewOid, Oid tempOid, Oid relowner,
597597
{
598598
ereport(ERROR,
599599
(errcode(ERRCODE_CARDINALITY_VIOLATION),
600-
errmsg("new data for \"%s\" contains duplicate rows without anyNULL columns",
600+
errmsg("new data for \"%s\" contains duplicate rows without anynull columns",
601601
RelationGetRelationName(matviewRel)),
602602
errdetail("Row: %s",
603603
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
@@ -9046,7 +9046,7 @@ ATExecSetRelOptions(Relation rel, List *defList, AlterTableType operation,
90469046
if (view_updatable_error)
90479047
ereport(ERROR,
90489048
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
9049-
errmsg("WITH CHECK OPTION is supported only onauto-updatable views"),
9049+
errmsg("WITH CHECK OPTION is supported only onautomaticallyupdatable views"),
90509050
errhint("%s",view_updatable_error)));
90519051
}
90529052
}

‎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-openssl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,7 @@ be_tls_write(Port *port, void *ptr, size_t len)
614614
if (retries >=20)
615615
ereport(FATAL,
616616
(errcode(ERRCODE_PROTOCOL_VIOLATION),
617-
errmsg("unable to complete SSL handshake")));
617+
errmsg("could not complete SSL handshake on renegotiation, too many failures")));
618618
}
619619
}
620620
}

‎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