Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
12349818
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,发现更多精彩内容 >>
提交
12349818
编写于
4月 25, 2000
作者:
B
Bruce Momjian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix libpq example return values
上级
56e09ddf
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
10 addition
and
6 deletion
+10
-6
doc/src/sgml/libpq.sgml
doc/src/sgml/libpq.sgml
+5
-1
src/test/examples/testlibpq.c
src/test/examples/testlibpq.c
+1
-1
src/test/examples/testlo.c
src/test/examples/testlo.c
+2
-2
src/test/examples/testlo2.c
src/test/examples/testlo2.c
+2
-2
未找到文件。
doc/src/sgml/libpq.sgml
浏览文件 @
12349818
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/libpq.sgml,v 1.3
6 2000/03/31 03:27:40 thomas
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/libpq.sgml,v 1.3
7 2000/04/25 16:39:07 momjian
Exp $
-->
<chapter id="libpq-chapter">
...
...
@@ -2031,6 +2031,8 @@ main()
PQfinish(conn);
/* fclose(debug); */
return 0;
}
</programlisting>
</para>
...
...
@@ -2152,6 +2154,7 @@ main()
/* close the connection to the database and cleanup */
PQfinish(conn);
return 0;
}
</programlisting>
</para>
...
...
@@ -2334,6 +2337,7 @@ main()
/* close the connection to the database and cleanup */
PQfinish(conn);
return 0;
}
</programlisting>
</para>
...
...
src/test/examples/testlibpq.c
浏览文件 @
12349818
...
...
@@ -130,5 +130,5 @@ main()
fclose
(
debug
);
#endif
/* DEBUG */
exit
(
0
)
;
return
0
;
}
src/test/examples/testlo.c
浏览文件 @
12349818
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/test/examples/testlo.c,v 1.1
4 2000/01/26 05:58:49
momjian Exp $
* $Header: /cvsroot/pgsql/src/test/examples/testlo.c,v 1.1
5 2000/04/25 16:39:07
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -248,5 +248,5 @@ main(int argc, char **argv)
res
=
PQexec
(
conn
,
"end"
);
PQclear
(
res
);
PQfinish
(
conn
);
exit
(
0
)
;
return
0
;
}
src/test/examples/testlo2.c
浏览文件 @
12349818
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/test/examples/Attic/testlo2.c,v 1.1
3 2000/01/26 05:58:49
momjian Exp $
* $Header: /cvsroot/pgsql/src/test/examples/Attic/testlo2.c,v 1.1
4 2000/04/25 16:39:07
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -241,5 +241,5 @@ main(int argc, char **argv)
res
=
PQexec
(
conn
,
"end"
);
PQclear
(
res
);
PQfinish
(
conn
);
exit
(
0
)
;
return
0
;
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录