Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
9e90d118
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,发现更多精彩内容 >>
提交
9e90d118
编写于
10月 30, 2002
作者:
B
Bruce Momjian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Remove /src/utils. Is final cleanup of getopt.c resurection.
上级
6d8c3d4e
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
4 addition
and
130 deletion
+4
-130
src/test/regress/expected/join.out
src/test/regress/expected/join.out
+2
-2
src/test/regress/sql/join.sql
src/test/regress/sql/join.sql
+2
-2
src/utils/Makefile
src/utils/Makefile
+0
-18
src/utils/dllinit.c
src/utils/dllinit.c
+0
-108
未找到文件。
src/test/regress/expected/join.out
浏览文件 @
9e90d118
...
@@ -1788,7 +1788,7 @@ SELECT '' AS "xxx", *
...
@@ -1788,7 +1788,7 @@ SELECT '' AS "xxx", *
SELECT '' AS "xxx", *
SELECT '' AS "xxx", *
FROM J1_TBL FULL OUTER JOIN J2_TBL USING (i)
FROM J1_TBL FULL OUTER JOIN J2_TBL USING (i)
ORDER BY i;
ORDER BY i
, t
;
xxx | i | j | t | k
xxx | i | j | t | k
-----+---+---+-------+----
-----+---+---+-------+----
| 0 | | zero |
| 0 | | zero |
...
@@ -1810,7 +1810,7 @@ SELECT '' AS "xxx", *
...
@@ -1810,7 +1810,7 @@ SELECT '' AS "xxx", *
SELECT '' AS "xxx", *
SELECT '' AS "xxx", *
FROM J1_TBL FULL JOIN J2_TBL USING (i)
FROM J1_TBL FULL JOIN J2_TBL USING (i)
ORDER BY i;
ORDER BY i
, t
;
xxx | i | j | t | k
xxx | i | j | t | k
-----+---+---+-------+----
-----+---+---+-------+----
| 0 | | zero |
| 0 | | zero |
...
...
src/test/regress/sql/join.sql
浏览文件 @
9e90d118
...
@@ -181,11 +181,11 @@ SELECT '' AS "xxx", *
...
@@ -181,11 +181,11 @@ SELECT '' AS "xxx", *
SELECT
''
AS
"xxx"
,
*
SELECT
''
AS
"xxx"
,
*
FROM
J1_TBL
FULL
OUTER
JOIN
J2_TBL
USING
(
i
)
FROM
J1_TBL
FULL
OUTER
JOIN
J2_TBL
USING
(
i
)
ORDER
BY
i
;
ORDER
BY
i
,
t
;
SELECT
''
AS
"xxx"
,
*
SELECT
''
AS
"xxx"
,
*
FROM
J1_TBL
FULL
JOIN
J2_TBL
USING
(
i
)
FROM
J1_TBL
FULL
JOIN
J2_TBL
USING
(
i
)
ORDER
BY
i
;
ORDER
BY
i
,
t
;
SELECT
''
AS
"xxx"
,
*
SELECT
''
AS
"xxx"
,
*
FROM
J1_TBL
LEFT
JOIN
J2_TBL
USING
(
i
)
WHERE
(
k
=
1
);
FROM
J1_TBL
LEFT
JOIN
J2_TBL
USING
(
i
)
WHERE
(
k
=
1
);
...
...
src/utils/Makefile
已删除
100644 → 0
浏览文件 @
6d8c3d4e
#-------------------------------------------------------------------------
#
# Makefile for utils
#
# $Header: /cvsroot/pgsql/src/utils/Attic/Makefile,v 1.16 2002/10/19 02:23:26 momjian Exp $
#
# dllinit.o is only built on Win32 platform.
#
#-------------------------------------------------------------------------
subdir
=
src/utils
top_builddir
=
../..
include
$(top_builddir)/src/Makefile.global
all
:
clean distclean maintainer-clean
:
rm
-f
dllinit.o
src/utils/dllinit.c
已删除
100644 → 0
浏览文件 @
6d8c3d4e
#include <cygwin/version.h>
#if CYGWIN_VERSION_DLL_MAJOR < 1001
/* dllinit.c -- Portable DLL initialization.
Copyright (C) 1998 Free Software Foundation, Inc.
Contributed by Mumit Khan (khan@xraylith.wisc.edu).
I've used DllMain as the DLL "main" since that's the most common
usage. MSVC and Mingw32 both default to DllMain as the standard
callback from the linker entry point. Cygwin32 b19+ uses essentially
the same, albeit slightly differently implemented, scheme. Please
see DECLARE_CYGWIN_DLL macro in <cygwin32/cygwin_dll.h> for more
info on how Cygwin32 uses the callback function.
The real entry point is typically always defined by the runtime
library, and usually never overridden by (casual) user. What you can
override however is the callback routine that the entry point calls,
and this file provides such a callback function, DllMain.
Mingw32: The default entry point for mingw32 is DllMainCRTStartup
which is defined in libmingw32.a This in turn calls DllMain which is
defined here. If not defined, there is a stub in libmingw32.a which
does nothing.
Cygwin32: The default entry point for cygwin32 b19 or newer is
__cygwin32_dll_entry which is defined in libcygwin.a. This in turn
calls the routine you supply to the DECLARE_CYGWIN_DLL (see below)
and, for this example, I've chose DllMain to be consistent with all
the other platforms.
MSVC: MSVC runtime calls DllMain, just like Mingw32.
Summary: If you need to do anything special in DllMain, just add it
here. Otherwise, the default setup should be just fine for 99%+ of
the time. I strongly suggest that you *not* change the entry point,
but rather change DllMain as appropriate.
*/
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#undef WIN32_LEAN_AND_MEAN
#include <stdio.h>
BOOL
APIENTRY
DllMain
(
HINSTANCE
hInst
,
DWORD
reason
,
LPVOID
reserved
/* Not used. */
);
#ifdef __CYGWIN__
#include <cygwin/cygwin_dll.h>
DECLARE_CYGWIN_DLL
(
DllMain
);
/* save hInstance from DllMain */
HINSTANCE
__hDllInstance_base
;
#endif
/* __CYGWIN__ */
struct
_reent
*
_impure_ptr
;
extern
struct
_reent
*
__imp_reent_data
;
/*
*----------------------------------------------------------------------
*
* DllMain
*
* This routine is called by the Mingw32, Cygwin32 or VC++ C run
* time library init code, or the Borland DllEntryPoint routine. It
* is responsible for initializing various dynamically loaded
* libraries.
*
* Results:
* TRUE on sucess, FALSE on failure.
*
* Side effects:
*
*----------------------------------------------------------------------
*/
BOOL
APIENTRY
DllMain
(
HINSTANCE
hInst
/* Library instance handle. */
,
DWORD
reason
/* Reason this function is being called. */
,
LPVOID
reserved
/* Not used. */
)
{
#ifdef __CYGWIN__
__hDllInstance_base
=
hInst
;
#endif
/* __CYGWIN__ */
_impure_ptr
=
__imp_reent_data
;
switch
(
reason
)
{
case
DLL_PROCESS_ATTACH
:
break
;
case
DLL_PROCESS_DETACH
:
break
;
case
DLL_THREAD_ATTACH
:
break
;
case
DLL_THREAD_DETACH
:
break
;
}
return
TRUE
;
}
#endif
/* CYGWIN_VERSION_DLL_MAJOR < 1001 */
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录