Skip to content

Commit 5714931

Browse files
committed
Fix Windows build for 78c8c81
Author: Petr Jelínek
1 parent fa2fa99 commit 5714931

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

src/include/replication/walreceiver.h

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -161,37 +161,37 @@ typedef void (*walrcv_disconnect_fn) (WalReceiverConn *conn);
161161

162162
typedef struct WalReceiverFunctionsType
163163
{
164-
walrcv_connect_fn connect;
165-
walrcv_get_conninfo_fn get_conninfo;
166-
walrcv_identify_system_fn identify_system;
167-
walrcv_readtimelinehistoryfile_fn readtimelinehistoryfile;
168-
walrcv_startstreaming_fn startstreaming;
169-
walrcv_endstreaming_fn endstreaming;
170-
walrcv_receive_fn receive;
171-
walrcv_send_fn send;
172-
walrcv_disconnect_fn disconnect;
164+
walrcv_connect_fn walrcv_connect;
165+
walrcv_get_conninfo_fn walrcv_get_conninfo;
166+
walrcv_identify_system_fn walrcv_identify_system;
167+
walrcv_readtimelinehistoryfile_fn walrcv_readtimelinehistoryfile;
168+
walrcv_startstreaming_fn walrcv_startstreaming;
169+
walrcv_endstreaming_fn walrcv_endstreaming;
170+
walrcv_receive_fn walrcv_receive;
171+
walrcv_send_fn walrcv_send;
172+
walrcv_disconnect_fn walrcv_disconnect;
173173
} WalReceiverFunctionsType;
174174

175175
extern PGDLLIMPORT WalReceiverFunctionsType *WalReceiverFunctions;
176176

177177
#define walrcv_connect(conninfo, logical, appname) \
178-
WalReceiverFunctions->connect(conninfo, logical, appname)
178+
WalReceiverFunctions->walrcv_connect(conninfo, logical, appname)
179179
#define walrcv_get_conninfo(conn) \
180-
WalReceiverFunctions->get_conninfo(conn)
180+
WalReceiverFunctions->walrcv_get_conninfo(conn)
181181
#define walrcv_identify_system(conn, primary_tli) \
182-
WalReceiverFunctions->identify_system(conn, primary_tli)
182+
WalReceiverFunctions->walrcv_identify_system(conn, primary_tli)
183183
#define walrcv_readtimelinehistoryfile(conn, tli, filename, content, size) \
184-
WalReceiverFunctions->readtimelinehistoryfile(conn, tli, filename, content, size)
184+
WalReceiverFunctions->walrcv_readtimelinehistoryfile(conn, tli, filename, content, size)
185185
#define walrcv_startstreaming(conn, tli, startpoint, slotname) \
186-
WalReceiverFunctions->startstreaming(conn, tli, startpoint, slotname)
186+
WalReceiverFunctions->walrcv_startstreaming(conn, tli, startpoint, slotname)
187187
#define walrcv_endstreaming(conn, next_tli) \
188-
WalReceiverFunctions->endstreaming(conn, next_tli)
188+
WalReceiverFunctions->walrcv_endstreaming(conn, next_tli)
189189
#define walrcv_receive(conn, buffer, wait_fd) \
190-
WalReceiverFunctions->receive(conn, buffer, wait_fd)
190+
WalReceiverFunctions->walrcv_receive(conn, buffer, wait_fd)
191191
#define walrcv_send(conn, buffer, nbytes) \
192-
WalReceiverFunctions->send(conn, buffer, nbytes)
192+
WalReceiverFunctions->walrcv_send(conn, buffer, nbytes)
193193
#define walrcv_disconnect(conn) \
194-
WalReceiverFunctions->disconnect(conn)
194+
WalReceiverFunctions->walrcv_disconnect(conn)
195195

196196
/* prototypes for functions in walreceiver.c */
197197
extern void WalReceiverMain(void) pg_attribute_noreturn();

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