Skip to content

Commit d1c33cc

Browse files
committed
Remove prototype for non-existent function from walreceiver.h. Tidy up by
separating prototypes for functions in walreceiver.c and walreceiverfuncs.c with comments.
1 parent 418039d commit d1c33cc

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/include/replication/walreceiver.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Portions Copyright (c) 2010-2010, PostgreSQL Global Development Group
77
*
8-
* $PostgreSQL: pgsql/src/include/replication/walreceiver.h,v 1.11 2010/07/06 19:19:00 momjian Exp $
8+
* $PostgreSQL: pgsql/src/include/replication/walreceiver.h,v 1.12 2010/09/13 10:14:25 heikki Exp $
99
*
1010
*-------------------------------------------------------------------------
1111
*/
@@ -87,12 +87,14 @@ extern PGDLLIMPORT walrcv_receive_type walrcv_receive;
8787
typedef void (*walrcv_disconnect_type) (void);
8888
extern PGDLLIMPORT walrcv_disconnect_type walrcv_disconnect;
8989

90+
/* prototypes for functions in walreceiver.c */
9091
extern void WalReceiverMain(void);
92+
93+
/* prototypes for functions in walreceiverfuncs.c */
9194
extern Size WalRcvShmemSize(void);
9295
extern void WalRcvShmemInit(void);
9396
extern void ShutdownWalRcv(void);
9497
extern bool WalRcvInProgress(void);
95-
extern XLogRecPtr WaitNextXLogAvailable(XLogRecPtr recptr, bool *finished);
9698
extern void RequestXLogStreaming(XLogRecPtr recptr, const char *conninfo);
9799
extern XLogRecPtr GetWalRcvWriteRecPtr(XLogRecPtr *latestChunkStart);
98100

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy