projects
/
users
/
rhaas
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba8a748
)
? Don't copy pg_replslot in basebackups.
author
Andres Freund
<andres@anarazel.de>
Wed, 29 Jan 2014 15:29:29 +0000
(16:29 +0100)
committer
Andres Freund
<andres@anarazel.de>
Wed, 29 Jan 2014 15:29:29 +0000
(16:29 +0100)
src/backend/replication/basebackup.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/replication/basebackup.c
b/src/backend/replication/basebackup.c
index 7d0ed9ce4c84fc92f3d7b7b424a1764212d46471..781f678097d4c6dc5d000703f30fe7bbffe2a43f 100644
(file)
--- a/
src/backend/replication/basebackup.c
+++ b/
src/backend/replication/basebackup.c
@@
-847,6
+847,10
@@
sendDir(char *path, int basepathlen, bool sizeonly, List *tablespaces)
if (strcmp(de->d_name, BACKUP_LABEL_FILE) == 0)
continue;
+ /* Skip pg_replslot, not useful to copy */
+ if (strcmp(de->d_name, "pg_replslot") == 0)
+ continue;
+
/*
* Check if the postmaster has signaled us to exit, and abort with an
* error in that case. The error handler further up will call