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

Commit4b4663f

Browse files
committed
Message style fixes
1 parent5265e91 commit4b4663f

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

‎src/backend/replication/logical/worker.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3878,7 +3878,7 @@ maybe_start_skipping_changes(XLogRecPtr finish_lsn)
38783878
skip_xact_finish_lsn=finish_lsn;
38793879

38803880
ereport(LOG,
3881-
errmsg("start skippinglogical replicationtransaction finished at %X/%X",
3881+
errmsg("logical replicationstarts skipping transaction at LSN %X/%X",
38823882
LSN_FORMAT_ARGS(skip_xact_finish_lsn)));
38833883
}
38843884

@@ -3892,7 +3892,7 @@ stop_skipping_changes(void)
38923892
return;
38933893

38943894
ereport(LOG,
3895-
(errmsg("done skippinglogical replicationtransaction finished at %X/%X",
3895+
(errmsg("logical replicationcompleted skipping transaction at LSN %X/%X",
38963896
LSN_FORMAT_ARGS(skip_xact_finish_lsn))));
38973897

38983898
/* Stop skipping changes */
@@ -3975,7 +3975,7 @@ clear_subscription_skip_lsn(XLogRecPtr finish_lsn)
39753975
if (myskiplsn!=finish_lsn)
39763976
ereport(WARNING,
39773977
errmsg("skip-LSN of logical replication subscription \"%s\" cleared",MySubscription->name),
3978-
errdetail("Remote transaction's finish WAL location (LSN) %X/%X did not match skip-LSN %X/%X",
3978+
errdetail("Remote transaction's finish WAL location (LSN) %X/%X did not match skip-LSN %X/%X.",
39793979
LSN_FORMAT_ARGS(finish_lsn),
39803980
LSN_FORMAT_ARGS(myskiplsn)));
39813981
}

‎src/backend/utils/init/postinit.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -454,9 +454,10 @@ CheckMyDatabase(const char *name, bool am_superuser, bool override_allow_connect
454454

455455
actual_versionstr=get_collation_actual_version(dbform->datlocprovider,dbform->datlocprovider==COLLPROVIDER_ICU ?iculocale :collate);
456456
if (!actual_versionstr)
457-
ereport(WARNING,
458-
(errmsg("database \"%s\" has no actual collation version, but a version was recorded",
459-
name)));
457+
/* should not happen */
458+
elog(WARNING,
459+
"database \"%s\" has no actual collation version, but a version was recorded",
460+
name);
460461
elseif (strcmp(actual_versionstr,collversionstr)!=0)
461462
ereport(WARNING,
462463
(errmsg("database \"%s\" has a collation version mismatch",

‎src/backend/utils/misc/guc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2837,7 +2837,7 @@ static struct config_int ConfigureNamesInt[] =
28372837
{
28382838
{"wal_decode_buffer_size",PGC_POSTMASTER,WAL_RECOVERY,
28392839
gettext_noop("Maximum buffer size for reading ahead in the WAL during recovery."),
2840-
gettext_noop("This controls the maximum distance we can read ahead in the WAL to prefetchreferenced blocks."),
2840+
gettext_noop("This controls the maximum distance we can read ahead in the WAL to prefetchdata blocks referenced therein."),
28412841
GUC_UNIT_BYTE
28422842
},
28432843
&wal_decode_buffer_size,

‎src/test/subscription/t/029_on_error.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ sub test_skip_lsn
4848
# Check the log to ensure that the transaction is skipped, and advance the
4949
# offset of the log file for the next test.
5050
$offset =$node_subscriber->wait_for_log(
51-
qr/LOG: ( [A-Z0-9]+:)?done skippinglogical replicationtransaction finished at$lsn/,
51+
qr/LOG: ( [A-Z0-9]+:)? logical replicationcompleted skipping transaction at LSN$lsn/,
5252
$offset);
5353

5454
# Insert non-conflict data

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp