Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
9ba40653
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,发现更多精彩内容 >>
提交
9ba40653
编写于
9月 27, 2006
作者:
T
Tom Lane
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Remove separate strdup.h header file; it's redundant with port.h.
上级
de6ca63d
变更
10
隐藏空白更改
内联
并排
Showing
10 changed file
with
9 addition
and
48 deletion
+9
-48
src/bin/pg_dump/common.c
src/bin/pg_dump/common.c
+1
-5
src/bin/pg_dump/pg_backup_db.c
src/bin/pg_dump/pg_backup_db.c
+1
-4
src/bin/pg_dump/pg_dump.c
src/bin/pg_dump/pg_dump.c
+1
-5
src/bin/pg_dump/pg_dumpall.c
src/bin/pg_dump/pg_dumpall.c
+1
-4
src/bin/pg_dump/pg_restore.c
src/bin/pg_dump/pg_restore.c
+1
-5
src/bin/psql/common.c
src/bin/psql/common.c
+1
-4
src/include/strdup.h
src/include/strdup.h
+0
-8
src/interfaces/libpq/fe-connect.c
src/interfaces/libpq/fe-connect.c
+1
-5
src/interfaces/libpq/fe-secure.c
src/interfaces/libpq/fe-secure.c
+1
-5
src/port/strdup.c
src/port/strdup.c
+1
-3
未找到文件。
src/bin/pg_dump/common.c
浏览文件 @
9ba40653
...
...
@@ -11,7 +11,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/bin/pg_dump/common.c,v 1.9
2 2006/08/01 18:05:04 momjian
Exp $
* $PostgreSQL: pgsql/src/bin/pg_dump/common.c,v 1.9
3 2006/09/27 15:41:23 tgl
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -24,10 +24,6 @@
#include <ctype.h>
#ifndef HAVE_STRDUP
#include "strdup.h"
#endif
/*
* Variables for mapping DumpId to DumpableObject
...
...
src/bin/pg_dump/pg_backup_db.c
浏览文件 @
9ba40653
...
...
@@ -5,7 +5,7 @@
* Implements the basic DB functions used by the archiver.
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_backup_db.c,v 1.7
3 2006/07/18 17:42:00 momjian
Exp $
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_backup_db.c,v 1.7
4 2006/09/27 15:41:23 tgl
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -21,9 +21,6 @@
#include <termios.h>
#endif
#ifndef HAVE_STRDUP
#include "strdup.h"
#endif
static
const
char
*
modulename
=
gettext_noop
(
"archiver (db)"
);
...
...
src/bin/pg_dump/pg_dump.c
浏览文件 @
9ba40653
...
...
@@ -12,7 +12,7 @@
* by PostgreSQL
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dump.c,v 1.44
8 2006/09/22 21:39:57
tgl Exp $
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dump.c,v 1.44
9 2006/09/27 15:41:23
tgl Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -34,10 +34,6 @@
#include <termios.h>
#endif
#ifndef HAVE_STRDUP
#include "strdup.h"
#endif
#include "getopt_long.h"
#ifndef HAVE_INT_OPTRESET
...
...
src/bin/pg_dump/pg_dumpall.c
浏览文件 @
9ba40653
...
...
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
*
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dumpall.c,v 1.8
1 2006/07/14 14:52:26 momjian
Exp $
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dumpall.c,v 1.8
2 2006/09/27 15:41:23 tgl
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -19,9 +19,6 @@
#ifdef ENABLE_NLS
#include <locale.h>
#endif
#ifndef HAVE_STRDUP
#include "strdup.h"
#endif
#include "getopt_long.h"
...
...
src/bin/pg_dump/pg_restore.c
浏览文件 @
9ba40653
...
...
@@ -34,7 +34,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_restore.c,v 1.8
0 2006/08/01 18:21:44 momjian
Exp $
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_restore.c,v 1.8
1 2006/09/27 15:41:23 tgl
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -43,10 +43,6 @@
#include <ctype.h>
#ifndef HAVE_STRDUP
#include "strdup.h"
#endif
#ifdef HAVE_TERMIOS_H
#include <termios.h>
#endif
...
...
src/bin/psql/common.c
浏览文件 @
9ba40653
...
...
@@ -3,15 +3,12 @@
*
* Copyright (c) 2000-2006, PostgreSQL Global Development Group
*
* $PostgreSQL: pgsql/src/bin/psql/common.c,v 1.12
8 2006/08/29 22:48:55
tgl Exp $
* $PostgreSQL: pgsql/src/bin/psql/common.c,v 1.12
9 2006/09/27 15:41:23
tgl Exp $
*/
#include "postgres_fe.h"
#include "common.h"
#include <ctype.h>
#ifndef HAVE_STRDUP
#include <strdup.h>
#endif
#include <signal.h>
#ifndef WIN32
#include <sys/time.h>
...
...
src/include/strdup.h
已删除
100644 → 0
浏览文件 @
de6ca63d
/* This is the prototype for the strdup() function which is distributed
with Postgres. That strdup() is only needed on those systems that
don't already have strdup() in their system libraries.
The Postgres strdup() is in src/port/strdup.c.
*/
extern
char
*
strdup
(
char
const
*
);
src/interfaces/libpq/fe-connect.c
浏览文件 @
9ba40653
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-connect.c,v 1.33
5 2006/09/15 21:34:23
tgl Exp $
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-connect.c,v 1.33
6 2006/09/27 15:41:24
tgl Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -22,10 +22,6 @@
#include <time.h>
#include <unistd.h>
#ifndef HAVE_STRDUP
#include "strdup.h"
#endif
#include "libpq-fe.h"
#include "libpq-int.h"
#include "fe-auth.h"
...
...
src/interfaces/libpq/fe-secure.c
浏览文件 @
9ba40653
...
...
@@ -11,7 +11,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-secure.c,v 1.8
6 2006/09/04 14:57:27 petere
Exp $
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-secure.c,v 1.8
7 2006/09/27 15:41:24 tgl
Exp $
*
* NOTES
* [ Most of these notes are wrong/obsolete, but perhaps not all ]
...
...
@@ -109,10 +109,6 @@
#endif
#endif
#ifndef HAVE_STRDUP
#include "strdup.h"
#endif
#ifdef USE_SSL
#include <openssl/ssl.h>
#endif
/* USE_SSL */
...
...
src/port/strdup.c
浏览文件 @
9ba40653
...
...
@@ -8,15 +8,13 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/port/strdup.c,v 1.1
1 2006/07/14 04:59:30 momjian
Exp $
* $PostgreSQL: pgsql/src/port/strdup.c,v 1.1
2 2006/09/27 15:41:24 tgl
Exp $
*
*-------------------------------------------------------------------------
*/
#include "c.h"
#include "strdup.h"
char
*
strdup
(
const
char
*
string
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录