@@ -897,17 +897,17 @@ check_publisher(const struct LogicalRepInfo *dbinfo)
897897 {
898898 pg_log_error ("publisher requires %d replication slots, but only %d remain" ,
899899 num_dbs , max_repslots - cur_repslots );
900- pg_log_error_hint ("Consider increasing max_replication_slots to at least %d." ,
901- cur_repslots + num_dbs );
900+ pg_log_error_hint ("Increase the configuration parameter \"%s\" to at least %d." ,
901+ "max_replication_slots" , cur_repslots + num_dbs );
902902 failed = true;
903903 }
904904
905905 if (max_walsenders - cur_walsenders < num_dbs )
906906 {
907907 pg_log_error ("publisher requires %d wal sender processes, but only %d remain" ,
908908 num_dbs , max_walsenders - cur_walsenders );
909- pg_log_error_hint ("Consider increasing max_wal_senders to at least %d." ,
910- cur_walsenders + num_dbs );
909+ pg_log_error_hint ("Increase the configuration parameter \"%s\" to at least %d." ,
910+ "max_wal_senders" , cur_walsenders + num_dbs );
911911 failed = true;
912912 }
913913
@@ -1003,26 +1003,26 @@ check_subscriber(const struct LogicalRepInfo *dbinfo)
10031003 {
10041004 pg_log_error ("subscriber requires %d replication slots, but only %d remain" ,
10051005 num_dbs , max_repslots );
1006- pg_log_error_hint ("Consider increasing max_replication_slots to at least %d." ,
1007- num_dbs );
1006+ pg_log_error_hint ("Increase the configuration parameter \"%s\" to at least %d." ,
1007+ "max_replication_slots" , num_dbs );
10081008 failed = true;
10091009 }
10101010
10111011 if (max_lrworkers < num_dbs )
10121012 {
10131013 pg_log_error ("subscriber requires %d logical replication workers, but only %d remain" ,
10141014 num_dbs , max_lrworkers );
1015- pg_log_error_hint ("Consider increasing max_logical_replication_workers to at least %d." ,
1016- num_dbs );
1015+ pg_log_error_hint ("Increase the configuration parameter \"%s\" to at least %d." ,
1016+ "max_logical_replication_workers" , num_dbs );
10171017 failed = true;
10181018 }
10191019
10201020 if (max_wprocs < num_dbs + 1 )
10211021 {
10221022 pg_log_error ("subscriber requires %d worker processes, but only %d remain" ,
10231023 num_dbs + 1 , max_wprocs );
1024- pg_log_error_hint ("Consider increasing max_worker_processes to at least %d." ,
1025- num_dbs + 1 );
1024+ pg_log_error_hint ("Increase the configuration parameter \"%s\" to at least %d." ,
1025+ "max_worker_processes" , num_dbs + 1 );
10261026 failed = true;
10271027 }
10281028
0 commit comments