OSDN Git Service
(root)
/
pg-rex
/
syncrep.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'pgrex90-base' into pgrex90
[pg-rex/syncrep.git]
/
src
/
backend
/
replication
/
walsender.c
diff --git
a/src/backend/replication/walsender.c
b/src/backend/replication/walsender.c
index
fa96810
..
a41365f
100644
(file)
--- a/
src/backend/replication/walsender.c
+++ b/
src/backend/replication/walsender.c
@@
-352,8
+352,10
@@
WalSndHandshake(void)
SpinLockRelease(&walsnd->mutex);
}
SpinLockRelease(&walsnd->mutex);
}
- /* Send a Copy
XLog
Response message, and start streaming */
+ /* Send a Copy
Both
Response message, and start streaming */
pq_beginmessage(&buf, 'W');
pq_beginmessage(&buf, 'W');
+ pq_sendbyte(&buf, 0);
+ pq_sendint(&buf, 0, 2);
pq_endmessage(&buf);
pq_flush();
pq_endmessage(&buf);
pq_flush();