@@ -1325,7 +1325,7 @@ reread_subscription(void)
1325
1325
if (!newsub )
1326
1326
{
1327
1327
ereport (LOG ,
1328
- (errmsg ("logical replication worker for subscription \"%s\" will "
1328
+ (errmsg ("logical replication apply worker for subscription \"%s\" will "
1329
1329
"stop because the subscription was removed" ,
1330
1330
MySubscription -> name )));
1331
1331
@@ -1340,7 +1340,7 @@ reread_subscription(void)
1340
1340
if (!newsub -> enabled )
1341
1341
{
1342
1342
ereport (LOG ,
1343
- (errmsg ("logical replication worker for subscription \"%s\" will "
1343
+ (errmsg ("logical replication apply worker for subscription \"%s\" will "
1344
1344
"stop because the subscription was disabled" ,
1345
1345
MySubscription -> name )));
1346
1346
@@ -1355,7 +1355,7 @@ reread_subscription(void)
1355
1355
if (strcmp (newsub -> conninfo , MySubscription -> conninfo ) != 0 )
1356
1356
{
1357
1357
ereport (LOG ,
1358
- (errmsg ("logical replication worker for subscription \"%s\" will "
1358
+ (errmsg ("logical replication apply worker for subscription \"%s\" will "
1359
1359
"restart because the connection information was changed" ,
1360
1360
MySubscription -> name )));
1361
1361
@@ -1370,7 +1370,7 @@ reread_subscription(void)
1370
1370
if (strcmp (newsub -> name , MySubscription -> name ) != 0 )
1371
1371
{
1372
1372
ereport (LOG ,
1373
- (errmsg ("logical replication worker for subscription \"%s\" will "
1373
+ (errmsg ("logical replication apply worker for subscription \"%s\" will "
1374
1374
"restart because subscription was renamed" ,
1375
1375
MySubscription -> name )));
1376
1376
@@ -1388,7 +1388,7 @@ reread_subscription(void)
1388
1388
if (strcmp (newsub -> slotname , MySubscription -> slotname ) != 0 )
1389
1389
{
1390
1390
ereport (LOG ,
1391
- (errmsg ("logical replication worker for subscription \"%s\" will "
1391
+ (errmsg ("logical replication apply worker for subscription \"%s\" will "
1392
1392
"restart because the replication slot name was changed" ,
1393
1393
MySubscription -> name )));
1394
1394
@@ -1403,7 +1403,7 @@ reread_subscription(void)
1403
1403
if (!equal (newsub -> publications , MySubscription -> publications ))
1404
1404
{
1405
1405
ereport (LOG ,
1406
- (errmsg ("logical replication worker for subscription \"%s\" will "
1406
+ (errmsg ("logical replication apply worker for subscription \"%s\" will "
1407
1407
"restart because subscription's publications were changed" ,
1408
1408
MySubscription -> name )));
1409
1409
@@ -1503,7 +1503,7 @@ ApplyWorkerMain(Datum main_arg)
1503
1503
if (!MySubscription -> enabled )
1504
1504
{
1505
1505
ereport (LOG ,
1506
- (errmsg ("logical replication worker for subscription \"%s\" will not "
1506
+ (errmsg ("logical replication apply worker for subscription \"%s\" will not "
1507
1507
"start because the subscription was disabled during startup" ,
1508
1508
MySubscription -> name )));
1509
1509
@@ -1516,11 +1516,13 @@ ApplyWorkerMain(Datum main_arg)
1516
1516
(Datum ) 0 );
1517
1517
1518
1518
if (am_tablesync_worker ())
1519
- elog (LOG , "logical replication sync for subscription %s, table %s started" ,
1520
- MySubscription -> name , get_rel_name (MyLogicalRepWorker -> relid ));
1519
+ ereport (LOG ,
1520
+ (errmsg ("logical replication table synchronization worker for subscription \"%s\", table \"%s\" has started" ,
1521
+ MySubscription -> name , get_rel_name (MyLogicalRepWorker -> relid ))));
1521
1522
else
1522
- elog (LOG , "logical replication apply for subscription %s started" ,
1523
- MySubscription -> name );
1523
+ ereport (LOG ,
1524
+ (errmsg ("logical replication apply worker for subscription \"%s\" has started" ,
1525
+ MySubscription -> name )));
1524
1526
1525
1527
CommitTransactionCommand ();
1526
1528
0 commit comments