mirror of
https://github.com/postgres/postgres.git
synced 2025-06-14 18:42:34 +03:00
basebackup_to_shell: Add some const qualifiers for consistency
This commit is contained in:
@ -205,11 +205,11 @@ shell_get_sink(bbsink *next_sink, void *detail_arg)
|
|||||||
* making substitutions as appropriate for escape sequences.
|
* making substitutions as appropriate for escape sequences.
|
||||||
*/
|
*/
|
||||||
static char *
|
static char *
|
||||||
shell_construct_command(char *base_command, const char *filename,
|
shell_construct_command(const char *base_command, const char *filename,
|
||||||
char *target_detail)
|
const char *target_detail)
|
||||||
{
|
{
|
||||||
StringInfoData buf;
|
StringInfoData buf;
|
||||||
char *c;
|
const char *c;
|
||||||
|
|
||||||
initStringInfo(&buf);
|
initStringInfo(&buf);
|
||||||
for (c = base_command; *c != '\0'; ++c)
|
for (c = base_command; *c != '\0'; ++c)
|
||||||
|
Reference in New Issue
Block a user