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

Commit94bd4e3

Browse files
committed
Update to PyGreSQL 2.3.
1 parent86dacdb commit94bd4e3

File tree

23 files changed

+49
-5161
lines changed

23 files changed

+49
-5161
lines changed

‎src/backend/libpq/pqcomm.c

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
*
2929
* Copyright (c) 1994, Regents of the University of California
3030
*
31-
* $Id: pqcomm.c,v 1.69 1999/05/04 23:39:20 tgl Exp $
31+
* $Id: pqcomm.c,v 1.70 1999/05/10 16:10:34 momjian Exp $
3232
*
3333
*-------------------------------------------------------------------------
3434
*/
@@ -202,6 +202,11 @@ StreamServerPort(char *hostName, short portName, int *fdP)
202202
pqdebug("%s",PQerrormsg);
203203
returnSTATUS_ERROR;
204204
}
205+
206+
#ifdefONLY_REUSE_INET_SOCKETS
207+
if (family==AF_INET) {
208+
#endif
209+
205210
if ((setsockopt(fd,SOL_SOCKET,SO_REUSEADDR, (char*)&one,
206211
sizeof(one)))==-1)
207212
{
@@ -212,6 +217,11 @@ StreamServerPort(char *hostName, short portName, int *fdP)
212217
pqdebug("%s",PQerrormsg);
213218
returnSTATUS_ERROR;
214219
}
220+
221+
#ifdefONLY_REUSE_INET_SOCKETS
222+
}
223+
#endif
224+
215225
MemSet((char*)&saddr,0,sizeof(saddr));
216226
saddr.sa.sa_family=family;
217227
if (family==AF_UNIX)

‎src/include/port/sco.h

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,45 @@
11
#include<limits.h>/* For _POSIX_PATH_MAX */
22

3+
#ifndefMAXPATHLEN
34
#defineMAXPATHLEN_POSIX_PATH_MAX
5+
#endif
46

7+
#ifndefNOFILE
58
#defineNOFILENOFILES_MIN
9+
#endif
10+
11+
#defineONLY_REUSE_INET_SOCKETS
612

713
#defineDISABLE_COMPLEX_MACRO
14+
15+
#defineUSE_POSIX_TIME
16+
#defineNO_EMPTY_STMTS
17+
#defineSYSV_DIRENT
18+
19+
#defineHAS_TEST_AND_SET
20+
#defineNEED_I386_TAS_ASM
21+
22+
#defineUSE_UNIVEL_CC
23+
24+
typedefunsignedcharslock_t;
25+
26+
#defineDISABLE_COMPLEX_MACRO
27+
28+
/***************************************************************
29+
* The following include will get the needed prototype for the
30+
* strcasecmp() function.
31+
***************************************************************/
32+
#include<strings.h>
33+
34+
#ifndefBIG_ENDIAN
35+
#defineBIG_ENDIAN4321
36+
#endif
37+
#ifndefLITTLE_ENDIAN
38+
#defineLITTLE_ENDIAN1234
39+
#endif
40+
#ifndefPDP_ENDIAN
41+
#definePDP_ENDIAN3412
42+
#endif
43+
#ifndefBYTE_ORDER
44+
#defineBYTE_ORDERLITTLE_ENDIAN
45+
#endif

‎src/interfaces/python/Announce

Lines changed: 0 additions & 66 deletions
This file was deleted.

‎src/interfaces/python/ChangeLog

Lines changed: 0 additions & 49 deletions
This file was deleted.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp