Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitede3b76

Browse files
committed
Back out win32 patch so we can apply it separately.
1 parentf4921e5 commitede3b76

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
#definepiperead(a,b,c)read(a,b,c)
148148
#definepipewrite(a,b,c)write(a,b,c)
149149
#else
150-
externintpgpipe(inthandles[2]);/* pgpipe() is in /src/port */
150+
/* pgpipe() is in /src/port */
151151
#definepiperead(a,b,c)recv(a,b,c,0)
152152
#definepipewrite(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)

[8]ページ先頭

©2009-2025 Movatter.jp