File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 29
29
#include "utils/builtins.h"
30
30
#include "utils/elog.h"
31
31
#include "utils/memutils.h"
32
+ #include "utils/ps_status.h"
32
33
33
34
static int64 sendDir (char * path , int basepathlen , bool sizeonly );
34
35
static void sendFile (char * path , int basepathlen , struct stat * statbuf );
@@ -96,6 +97,15 @@ SendBaseBackup(const char *options)
96
97
(errcode (ERRCODE_PROTOCOL_VIOLATION ),
97
98
errmsg ("invalid base backup options: %s" , options )));
98
99
100
+ if (update_process_title )
101
+ {
102
+ char activitymsg [50 ];
103
+
104
+ snprintf (activitymsg , sizeof (activitymsg ), "sending backup \"%s\"" ,
105
+ backup_label );
106
+ set_ps_display (activitymsg , false);
107
+ }
108
+
99
109
/* Make sure we can open the directory with tablespaces in it */
100
110
dir = AllocateDir ("pg_tblspc" );
101
111
if (!dir )
You can’t perform that action at this time.
0 commit comments