projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
369f09e
)
basebackup_to_shell: Add some const qualifiers for consistency
author
Peter Eisentraut
Tue, 13 Dec 2022 09:39:44 +0000
(10:39 +0100)
committer
Peter Eisentraut
Tue, 13 Dec 2022 09:39:44 +0000
(10:39 +0100)
contrib/basebackup_to_shell/basebackup_to_shell.c
patch
|
blob
|
blame
|
history
diff --git
a/contrib/basebackup_to_shell/basebackup_to_shell.c
b/contrib/basebackup_to_shell/basebackup_to_shell.c
index e2b18631e053b97a67f3339c4408bc2e830536c9..bdaf67a4c8561ca39febf4c12aadc189ca801f53 100644
(file)
--- a/
contrib/basebackup_to_shell/basebackup_to_shell.c
+++ b/
contrib/basebackup_to_shell/basebackup_to_shell.c
@@
-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(c
onst c
har *base_command, const char *filename,
+ c
onst c
har *target_detail)
{
StringInfoData buf;
- c
har
*c;
+ c
onst char
*c;
initStringInfo(&buf);
for (c = base_command; *c != '\0'; ++c)