Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
79e78f0b
G
Gpdb
项目概览
Greenplum
/
Gpdb
通知
7
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
Gpdb
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
79e78f0b
编写于
7月 28, 1997
作者:
B
Bruce Momjian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Added SCO support, from Daniel Harris.
上级
5a38a119
变更
20
展开全部
隐藏空白更改
内联
并排
Showing
20 changed file
with
286 addition
and
202 deletion
+286
-202
src/backend/commands/vacuum.c
src/backend/commands/vacuum.c
+2
-2
src/backend/executor/execScan.c
src/backend/executor/execScan.c
+2
-1
src/backend/executor/nodeHash.c
src/backend/executor/nodeHash.c
+2
-2
src/backend/executor/nodeHashjoin.c
src/backend/executor/nodeHashjoin.c
+2
-2
src/backend/executor/nodeTee.c
src/backend/executor/nodeTee.c
+2
-1
src/backend/libpq/pqcomm.c
src/backend/libpq/pqcomm.c
+4
-2
src/backend/storage/buffer/buf_init.c
src/backend/storage/buffer/buf_init.c
+2
-1
src/backend/storage/buffer/bufmgr.c
src/backend/storage/buffer/bufmgr.c
+2
-1
src/backend/storage/buffer/localbuf.c
src/backend/storage/buffer/localbuf.c
+2
-1
src/backend/storage/file/fd.c
src/backend/storage/file/fd.c
+2
-2
src/backend/storage/large_object/inv_api.c
src/backend/storage/large_object/inv_api.c
+2
-2
src/backend/tcop/postgres.c
src/backend/tcop/postgres.c
+5
-2
src/backend/utils/Gen_fmgrtab.sh.in
src/backend/utils/Gen_fmgrtab.sh.in
+4
-4
src/backend/utils/adt/float.c
src/backend/utils/adt/float.c
+3
-2
src/backend/utils/adt/misc.c
src/backend/utils/adt/misc.c
+2
-1
src/backend/utils/cache/relcache.c
src/backend/utils/cache/relcache.c
+2
-1
src/configure
src/configure
+226
-170
src/configure.in
src/configure.in
+17
-3
src/template/.similar
src/template/.similar
+1
-0
src/utils/version.c
src/utils/version.c
+2
-2
未找到文件。
src/backend/commands/vacuum.c
浏览文件 @
79e78f0b
...
...
@@ -7,13 +7,13 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.3
6 1997/06/07 17:34:35
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.3
7 1997/07/28 00:53:40
momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include <sys/types.h>
#include <sys/file.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
...
...
src/backend/executor/execScan.c
浏览文件 @
79e78f0b
...
...
@@ -11,11 +11,12 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/executor/execScan.c,v 1.
2 1996/10/31 10:11:34 scrappy
Exp $
* $Header: /cvsroot/pgsql/src/backend/executor/execScan.c,v 1.
3 1997/07/28 00:53:51 momjian
Exp $
*
*-------------------------------------------------------------------------
*/
#include <sys/types.h>
#include <sys/file.h>
#include "postgres.h"
...
...
src/backend/executor/nodeHash.c
浏览文件 @
79e78f0b
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/executor/nodeHash.c,v 1.
8 1997/04/22 03:32:38 vadim
Exp $
* $Header: /cvsroot/pgsql/src/backend/executor/nodeHash.c,v 1.
9 1997/07/28 00:53:58 momjian
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -19,11 +19,11 @@
*
*/
#include <sys/types.h>
#include <stdio.h>
/* for sprintf() */
#include <math.h>
#include <string.h>
#include <sys/file.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
...
...
src/backend/executor/nodeHashjoin.c
浏览文件 @
79e78f0b
...
...
@@ -7,13 +7,13 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/executor/nodeHashjoin.c,v 1.
3 1996/11/06 06:47:41 scrappy
Exp $
* $Header: /cvsroot/pgsql/src/backend/executor/nodeHashjoin.c,v 1.
4 1997/07/28 00:54:06 momjian
Exp $
*
*-------------------------------------------------------------------------
*/
#include <sys/types.h>
#include <string.h>
#include <sys/file.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
...
...
src/backend/executor/nodeTee.c
浏览文件 @
79e78f0b
...
...
@@ -15,11 +15,12 @@
* ExecEndTee
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/executor/Attic/nodeTee.c,v 1.
5 1996/11/10 03:00:08
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/executor/Attic/nodeTee.c,v 1.
6 1997/07/28 00:54:11
momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include <sys/types.h>
#include <sys/file.h>
#include "postgres.h"
...
...
src/backend/libpq/pqcomm.c
浏览文件 @
79e78f0b
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/libpq/pqcomm.c,v 1.1
6 1997/04/17 20:38:16 scrappy
Exp $
* $Header: /cvsroot/pgsql/src/backend/libpq/pqcomm.c,v 1.1
7 1997/07/28 00:54:18 momjian
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -493,7 +493,9 @@ pq_regoob(void (*fptr)())
int
fd
=
fileno
(
Pfout
);
#if defined(hpux)
ioctl
(
fd
,
FIOSSAIOOWN
,
getpid
());
#else
/* hpux */
#elif defined(sco)
ioctl
(
fd
,
SIOCSPGRP
,
getpid
());
#else
fcntl
(
fd
,
F_SETOWN
,
getpid
());
#endif
/* hpux */
(
void
)
pqsignal
(
SIGURG
,
fptr
);
...
...
src/backend/storage/buffer/buf_init.c
浏览文件 @
79e78f0b
...
...
@@ -7,10 +7,11 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/buffer/buf_init.c,v 1.
9 1997/04/18 02:53:15 vadim
Exp $
* $Header: /cvsroot/pgsql/src/backend/storage/buffer/buf_init.c,v 1.
10 1997/07/28 00:54:33 momjian
Exp $
*
*-------------------------------------------------------------------------
*/
#include <sys/types.h>
#include <sys/file.h>
#include <stdio.h>
#include <math.h>
...
...
src/backend/storage/buffer/bufmgr.c
浏览文件 @
79e78f0b
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/buffer/bufmgr.c,v 1.1
4 1997/07/24 20:13:48
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/storage/buffer/bufmgr.c,v 1.1
5 1997/07/28 00:54:43
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -46,6 +46,7 @@
* freelist.c -- chooses victim for buffer replacement
* buf_table.c -- manages the buffer lookup table
*/
#include <sys/types.h>
#include <sys/file.h>
#include <stdio.h>
#include <string.h>
...
...
src/backend/storage/buffer/localbuf.c
浏览文件 @
79e78f0b
...
...
@@ -15,10 +15,11 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/buffer/localbuf.c,v 1.
7 1997/05/20 11:30:32 vadim
Exp $
* $Header: /cvsroot/pgsql/src/backend/storage/buffer/localbuf.c,v 1.
8 1997/07/28 00:54:48 momjian
Exp $
*
*-------------------------------------------------------------------------
*/
#include <sys/types.h>
#include <sys/file.h>
#include <stdio.h>
#include <string.h>
...
...
src/backend/storage/file/fd.c
浏览文件 @
79e78f0b
...
...
@@ -6,7 +6,7 @@
* Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* $Id: fd.c,v 1.1
8 1997/05/23 02:56:48 vadim
Exp $
* $Id: fd.c,v 1.1
9 1997/07/28 00:54:52 momjian
Exp $
*
* NOTES:
*
...
...
@@ -37,6 +37,7 @@
*-------------------------------------------------------------------------
*/
#include <sys/types.h>
#include <stdio.h>
#include <sys/file.h>
#include <sys/param.h>
...
...
@@ -44,7 +45,6 @@
#include <sys/stat.h>
#include <string.h>
#include <unistd.h>
#include <sys/types.h>
#include <fcntl.h>
#include "postgres.h"
...
...
src/backend/storage/large_object/inv_api.c
浏览文件 @
79e78f0b
...
...
@@ -8,14 +8,14 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/large_object/inv_api.c,v 1.1
0 1997/06/05 22:59:29
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/storage/large_object/inv_api.c,v 1.1
1 1997/07/28 00:55:08
momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include <sys/types.h>
#include <stdio.h>
/* for sprintf() */
#include <string.h>
#include <sys/file.h>
#include <sys/types.h>
#include <sys/stat.h>
#include "postgres.h"
...
...
src/backend/tcop/postgres.c
浏览文件 @
79e78f0b
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.3
4 1997/07/24 20:15:03
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.3
5 1997/07/28 00:55:28
momjian Exp $
*
* NOTES
* this is the "main" module of the postgres backend and
...
...
@@ -29,6 +29,9 @@
#ifndef MAXHOSTNAMELEN
#include <netdb.h>
/* for MAXHOSTNAMELEN on some */
#endif
#ifndef MAXHOSTNAMELEN
/* for MAXHOSTNAMELEN under sco3.2v5.0.2 */
#include <sys/socket.h>
#endif
#include <errno.h>
#ifdef aix
#include <sys/select.h>
...
...
@@ -1271,7 +1274,7 @@ PostgresMain(int argc, char *argv[])
*/
if
(
IsUnderPostmaster
==
false
)
{
puts
(
"
\n
POSTGRES backend interactive interface"
);
puts
(
"$Revision: 1.3
4 $ $Date: 1997/07/24 20:15:03
$"
);
puts
(
"$Revision: 1.3
5 $ $Date: 1997/07/28 00:55:28
$"
);
}
/* ----------------
...
...
src/backend/utils/Gen_fmgrtab.sh.in
浏览文件 @
79e78f0b
...
...
@@ -8,7 +8,7 @@
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/utils/Attic/Gen_fmgrtab.sh.in,v 1.
3 1997/04/24 20:30:16 scrappy
Exp $
# $Header: /cvsroot/pgsql/src/backend/utils/Attic/Gen_fmgrtab.sh.in,v 1.
4 1997/07/28 00:55:41 momjian
Exp $
#
# NOTES
# Passes any -D options on to cpp prior to generating the list
...
...
@@ -81,7 +81,7 @@ cat > $HFILE <<FuNkYfMgRsTuFf
*
* Copyright (c) 1994, Regents of the University of California
*
*
$Id
: Gen_fmgrtab.sh.in,v 1.
3 1997/04/24 20:30:16 scrappy
Exp $
*
$Id
: Gen_fmgrtab.sh.in,v 1.
4 1997/07/28 00:55:41 momjian
Exp $
*
* NOTES
* ******************************
...
...
@@ -152,7 +152,7 @@ extern void load_file(char *filename);
FuNkYfMgRsTuFf
awk
'{ print $2, $1; }'
$RAWFILE
|
\
@TR@
'[a-z]'
'[A-Z]'
|
\
@TR@
@TRARGS@
|
\
sed
-e
's/^/#define F_/'
>>
$HFILE
cat
>>
$HFILE
<<
FuNkYfMgRsTuFf
...
...
@@ -175,7 +175,7 @@ cat > $TABCFILE <<FuNkYfMgRtAbStUfF
*
*
* IDENTIFICATION
*
$Header
: /cvsroot/pgsql/src/backend/utils/Attic/Gen_fmgrtab.sh.in,v 1.
3 1997/04/24 20:30:16 scrappy
Exp $
*
$Header
: /cvsroot/pgsql/src/backend/utils/Attic/Gen_fmgrtab.sh.in,v 1.
4 1997/07/28 00:55:41 momjian
Exp $
*
* NOTES
*
...
...
src/backend/utils/adt/float.c
浏览文件 @
79e78f0b
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/float.c,v 1.1
6 1997/06/03 13:58:06 thomas
Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/float.c,v 1.1
7 1997/07/28 00:55:49 momjian
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -1446,7 +1446,8 @@ static int isinf(x)
}
#endif
/* alpha */
#if defined(sparc_solaris) || defined(i386_solaris) || defined(svr4)
#if defined(sparc_solaris) || defined(i386_solaris) || defined(svr4) || \
defined(sco)
#include <ieeefp.h>
static
int
isinf
(
d
)
...
...
src/backend/utils/adt/misc.c
浏览文件 @
79e78f0b
...
...
@@ -7,10 +7,11 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/misc.c,v 1.
6 1997/04/27 19:20:14 thomas
Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/misc.c,v 1.
7 1997/07/28 00:55:58 momjian
Exp $
*
*-------------------------------------------------------------------------
*/
#include <sys/types.h>
#include <sys/file.h>
#include "postgres.h"
#include "utils/datum.h"
...
...
src/backend/utils/cache/relcache.c
浏览文件 @
79e78f0b
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/cache/relcache.c,v 1.
9 1997/06/04 08:56:51 vadim
Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/cache/relcache.c,v 1.
10 1997/07/28 00:56:04 momjian
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -29,6 +29,7 @@
* careful....
*
*/
#include <sys/types.h>
#include <stdio.h>
/* for sprintf() */
#include <errno.h>
#include <sys/file.h>
...
...
src/configure
浏览文件 @
79e78f0b
此差异已折叠。
点击以展开。
src/configure.in
浏览文件 @
79e78f0b
...
...
@@ -20,6 +20,7 @@ nextstep*) PORTNAME='nextstep';;
irix*) PORTNAME='irix5';;
hpux*) PORTNAME='hpux';;
osf*) PORTNAME='alpha';;
sco*) PORTNAME='sco';;
sysv4*) PORTNAME='svr4';;
sysv4.2*)
case "$host_vendor" in
...
...
@@ -258,8 +259,7 @@ dnl AC_SUBST(HAVECXX)
dnl ****************************************************************
HAVECXX='HAVE_Cplusplus=false'
AC_SUBST(HAVECXX)
AC_PATH_PROGS(INSTALL, ginstall installbsd install bsdinst, NONE, $PATH)
AC_PATH_PROGS(INSTALL, ginstall installbsd install bsdinst, scoinst, NONE, $PATH)
if test $INSTALL = "NONE"
then
echo "- No Install Script found - aborting."
...
...
@@ -271,7 +271,7 @@ INSTL_EXE_OPTS="-m 555"
INSTL_LIB_OPTS="-m 664"
case "`basename $INSTALL`" in
install|installbsd)
install|installbsd
|scoinst
)
INSTLOPTS="-c $INSTLOPTS"
INSTL_EXE_OPTS="-c $INSTL_EXE_OPTS"
INSTL_LIB_OPTS="-c $INSTL_LIB_OPTS";;
...
...
@@ -313,6 +313,19 @@ AC_PATH_PROG(ipcs, ipcs)
AC_PATH_PROG(ipcrm, ipcrm)
AC_PATH_PROGS(TR, trbsd tr, NOT_FOUND)
dnl Check tr flags to convert from lower to upper case
TRSTRINGS=`echo ABCdef | $TR "'[[a-z]]' '[[A-Z]]'" | grep ABCDEF`
TRCLASS=`echo ABCdef | $TR "[[:lower:]]" "[[:upper:]]" | grep ABCDEF`
if test "$TRSTRINGS" = "ABCDEF"; then
TRARGS="'[[a-z]]' '[[A-Z]]'"
elif test "$TRCLASS" = "ABCDEF"; then
TRARGS="\"[[:lower:]]\" \"[[:upper:]]\""
else
AC_MSG_ERROR("Can\'t find method to covert from upper to lower case with tr")
fi
AC_SUBST(TRARGS)
dnl Changes to look for YACC. We have three choices (in order of pref.)
dnl (1) We specify in YACC and YFLAGS what we want
dnl (2) We have bison and we use bison -y
...
...
@@ -357,6 +370,7 @@ AC_CHECK_LIB(compat, main)
AC_CHECK_LIB(BSD, main)
AC_CHECK_LIB(crypt, main)
AC_CHECK_LIB(gen, main)
AC_CHECK_LIB(PW, main)
dnl Checks for header files.
AC_HEADER_STDC
...
...
src/template/.similar
浏览文件 @
79e78f0b
...
...
@@ -2,6 +2,7 @@ alpha-dec-osf4.0=alpha
i386-pc-bsdi2.0=bsdi-2.0
i386-pc-bsdi2.1=bsdi-2.1
i386-pc-bsdi3.0=bsdi-3.0
i586-pc-sco3.2v5.0.2=sco
i386-unknown-freebsd3.0=freebsd
i386-unknown-netbsd1.2.1=netbsd
mips-sgi-irix5.3=irix5
...
...
src/utils/version.c
浏览文件 @
79e78f0b
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/utils/Attic/version.c,v 1.
4 1997/02/14 04:19:07
momjian Exp $
* $Header: /cvsroot/pgsql/src/utils/Attic/version.c,v 1.
5 1997/07/28 00:57:08
momjian Exp $
*
* NOTES
* XXX eventually, should be able to handle version identifiers
...
...
@@ -17,9 +17,9 @@
* stuff that does not cinterface.a
*-------------------------------------------------------------------------
*/
#include <sys/types.h>
#include <sys/file.h>
#include <fcntl.h>
/* For open() flags */
#include <sys/types.h>
#include <sys/stat.h>
#include <ctype.h>
#include <string.h>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录