Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit ede3b76

Browse files
committed
Back out win32 patch so we can apply it separately.
1 parent f4921e5 commit ede3b76

File tree

8 files changed

+40
-266
lines changed

8 files changed

+40
-266
lines changed

src/backend/postmaster/pgstat.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
*
1414
* Copyright (c) 2001-2003, PostgreSQL Global Development Group
1515
*
16-
* $PostgreSQL: pgsql/src/backend/postmaster/pgstat.c,v 1.54 2004/01/26 22:51:55 momjian Exp $
16+
* $PostgreSQL: pgsql/src/backend/postmaster/pgstat.c,v 1.55 2004/01/26 22:54:56 momjian Exp $
1717
* ----------
1818
*/
1919
#include "postgres.h"
@@ -147,7 +147,7 @@ static void pgstat_recv_resetcounter(PgStat_MsgResetcounter *msg, int len);
147147
#define piperead(a,b,c) read(a,b,c)
148148
#define pipewrite(a,b,c) write(a,b,c)
149149
#else
150-
extern int pgpipe(int handles[2]); /* pgpipe() is in /src/port */
150+
/* pgpipe() is in /src/port */
151151
#define piperead(a,b,c) recv(a,b,c,0)
152152
#define pipewrite(a,b,c) send(a,b,c,0)
153153
#endif
@@ -322,7 +322,7 @@ pgstat_init(void)
322322
/*
323323
* Create the pipe that controls the statistics collector shutdown
324324
*/
325-
if (pgpipe(pgStatPmPipe) < 0)
325+
if (pipe(pgStatPmPipe) < 0)
326326
{
327327
ereport(LOG,
328328
(errcode_for_socket_access(),

0 commit comments

Comments
 (0)