summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2010-09-13 10:14:30 +0000
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2010-09-13 10:14:30 +0000
commitd9ac2fdaa96d85830925151aa5751ee79aa6b01d (patch)
tree43d6852777a79b8122cb8666bfc8063e7754ca38 /src
parent035081676b2493bcced7659d8f608305b787d4b2 (diff)
Remove prototype for non-existent function from walreceiver.h. Tidy up by
separating prototypes for functions in walreceiver.c and walreceiverfuncs.c with comments.
Diffstat (limited to 'src')
-rw-r--r--src/include/replication/walreceiver.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/include/replication/walreceiver.h b/src/include/replication/walreceiver.h
index 9e59db4ee07..53b2bb3abd5 100644
--- a/src/include/replication/walreceiver.h
+++ b/src/include/replication/walreceiver.h
@@ -5,7 +5,7 @@
*
* Portions Copyright (c) 2010-2010, PostgreSQL Global Development Group
*
- * $PostgreSQL: pgsql/src/include/replication/walreceiver.h,v 1.11 2010/07/06 19:19:00 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/replication/walreceiver.h,v 1.11.2.1 2010/09/13 10:14:30 heikki Exp $
*
*-------------------------------------------------------------------------
*/
@@ -87,12 +87,14 @@ extern PGDLLIMPORT walrcv_receive_type walrcv_receive;
typedef void (*walrcv_disconnect_type) (void);
extern PGDLLIMPORT walrcv_disconnect_type walrcv_disconnect;
+/* prototypes for functions in walreceiver.c */
extern void WalReceiverMain(void);
+
+/* prototypes for functions in walreceiverfuncs.c */
extern Size WalRcvShmemSize(void);
extern void WalRcvShmemInit(void);
extern void ShutdownWalRcv(void);
extern bool WalRcvInProgress(void);
-extern XLogRecPtr WaitNextXLogAvailable(XLogRecPtr recptr, bool *finished);
extern void RequestXLogStreaming(XLogRecPtr recptr, const char *conninfo);
extern XLogRecPtr GetWalRcvWriteRecPtr(XLogRecPtr *latestChunkStart);