mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-06 15:24:56 +08:00
basebackup_to_shell: Add some const qualifiers for consistency
This commit is contained in:
parent
369f09e420
commit
4cb65e1072
@ -205,11 +205,11 @@ shell_get_sink(bbsink *next_sink, void *detail_arg)
|
||||
* making substitutions as appropriate for escape sequences.
|
||||
*/
|
||||
static char *
|
||||
shell_construct_command(char *base_command, const char *filename,
|
||||
char *target_detail)
|
||||
shell_construct_command(const char *base_command, const char *filename,
|
||||
const char *target_detail)
|
||||
{
|
||||
StringInfoData buf;
|
||||
char *c;
|
||||
const char *c;
|
||||
|
||||
initStringInfo(&buf);
|
||||
for (c = base_command; *c != '\0'; ++c)
|
||||
|
Loading…
Reference in New Issue
Block a user