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

Commit203b5ce

Browse files
committed
Fix misplaced translator comments
They did not immediately precede the code they were applying to.
1 parentc739ae9 commit203b5ce

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

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

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1021,11 +1021,8 @@ CheckAndGetDbnameFromConninfo(void)
10211021
dbname=walrcv_get_dbname_from_conninfo(PrimaryConnInfo);
10221022
if (dbname==NULL)
10231023
ereport(ERROR,
1024-
1025-
/*
1026-
* translator: dbname is a specific option; %s is a GUC variable name
1027-
*/
10281024
errcode(ERRCODE_INVALID_PARAMETER_VALUE),
1025+
/* translator: dbname is a specific option; %s is a GUC variable name */
10291026
errmsg("slot synchronization requires dbname to be specified in %s",
10301027
"primary_conninfo"));
10311028
returndbname;
@@ -1058,8 +1055,8 @@ ValidateSlotSyncParams(int elevel)
10581055
if (PrimarySlotName==NULL||*PrimarySlotName=='\0')
10591056
{
10601057
ereport(elevel,
1061-
/* translator: %s is a GUC variable name */
10621058
errcode(ERRCODE_INVALID_PARAMETER_VALUE),
1059+
/* translator: %s is a GUC variable name */
10631060
errmsg("slot synchronization requires %s to be defined","primary_slot_name"));
10641061
return false;
10651062
}
@@ -1072,8 +1069,8 @@ ValidateSlotSyncParams(int elevel)
10721069
if (!hot_standby_feedback)
10731070
{
10741071
ereport(elevel,
1075-
/* translator: %s is a GUC variable name */
10761072
errcode(ERRCODE_INVALID_PARAMETER_VALUE),
1073+
/* translator: %s is a GUC variable name */
10771074
errmsg("slot synchronization requires %s to be enabled",
10781075
"hot_standby_feedback"));
10791076
return false;
@@ -1086,8 +1083,8 @@ ValidateSlotSyncParams(int elevel)
10861083
if (PrimaryConnInfo==NULL||*PrimaryConnInfo=='\0')
10871084
{
10881085
ereport(elevel,
1089-
/* translator: %s is a GUC variable name */
10901086
errcode(ERRCODE_INVALID_PARAMETER_VALUE),
1087+
/* translator: %s is a GUC variable name */
10911088
errmsg("slot synchronization requires %s to be defined",
10921089
"primary_conninfo"));
10931090
return false;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp