Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
817fc4b2
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,发现更多精彩内容 >>
提交
817fc4b2
编写于
3月 23, 1998
作者:
B
Bruce Momjian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Manual page fixes.
上级
137d3428
变更
10
显示空白变更内容
内联
并排
Showing
10 changed file
with
41 addition
and
41 deletion
+41
-41
src/man/abort.l
src/man/abort.l
+2
-2
src/man/begin.l
src/man/begin.l
+2
-2
src/man/commit.l
src/man/commit.l
+2
-2
src/man/declare.l
src/man/declare.l
+2
-2
src/man/fetch.l
src/man/fetch.l
+10
-10
src/man/large_objects.3
src/man/large_objects.3
+4
-4
src/man/libpq.3
src/man/libpq.3
+5
-5
src/man/lock.l
src/man/lock.l
+3
-3
src/man/move.l
src/man/move.l
+9
-9
src/man/rollback.l
src/man/rollback.l
+2
-2
未找到文件。
src/man/abort.l
浏览文件 @
817fc4b2
.\" This is -*-nroff-*-
.\" XXX standard disclaimer belongs here....
.\" $Header: /cvsroot/pgsql/src/man/Attic/abort.l,v 1.
3 1998/01/11 22:17:01
momjian Exp $
.\" $Header: /cvsroot/pgsql/src/man/Attic/abort.l,v 1.
4 1998/03/23 15:09:22
momjian Exp $
.TH ABORT SQL 01/23/93 PostgreSQL PostgreSQL
.\" XXX This .XA has to go after the .TH so that the index page number goes
.\" in the right place...
...
...
@@ -19,5 +19,5 @@ is functionally equivalent to
.IR "rollback".
.SH "SEE ALSO"
begin(l),
end
(l),
commit
(l),
rollback(l).
src/man/begin.l
浏览文件 @
817fc4b2
.\" This is -*-nroff-*-
.\" XXX standard disclaimer belongs here....
.\" $Header: /cvsroot/pgsql/src/man/Attic/begin.l,v 1.
3 1998/01/11 22:17:05
momjian Exp $
.\" $Header: /cvsroot/pgsql/src/man/Attic/begin.l,v 1.
4 1998/03/23 15:09:23
momjian Exp $
.TH BEGIN SQL 11/05/95 PostgreSQL PostgreSQL
.SH NAME
begin - begins a transaction
...
...
@@ -17,4 +17,4 @@ them are done. Transactions have the standard ACID (atomic,
consistent, isolatable, and durable) property.
.SH "SEE ALSO"
abort(l),
end
(l).
commit
(l).
src/man/commit.l
浏览文件 @
817fc4b2
.\" This is -*-nroff-*-
.\" XXX standard disclaimer belongs here....
.\" $Header: /cvsroot/pgsql/src/man/Attic/commit.l,v 1.
3 1998/01/11 22:17:10
momjian Exp $
.\" $Header: /cvsroot/pgsql/src/man/Attic/commit.l,v 1.
4 1998/03/23 15:09:25
momjian Exp $
.TH COMMIT SQL 01/23/93 PostgreSQL PostgreSQL
.SH NAME
commit - commit the current transaction
...
...
@@ -19,5 +19,5 @@ command
.SH "SEE ALSO"
abort(l),
begin(l),
end
(l),
commit
(l),
rollback(l).
src/man/declare.l
浏览文件 @
817fc4b2
.\" This is -*-nroff-*-
.\" XXX standard disclaimer belongs here....
.\" $Header: /cvsroot/pgsql/src/man/Attic/declare.l,v 1.
3 1998/01/22 23:05:18
momjian Exp $
.\" $Header: /cvsroot/pgsql/src/man/Attic/declare.l,v 1.
4 1998/03/23 15:09:26
momjian Exp $
.TH FETCH SQL 01/23/93 PostgreSQL PostgreSQL
.SH NAME
declare - declare a cursor
...
...
@@ -35,5 +35,5 @@ For an example, see the fetch(l) manual page.
.SH "SEE ALSO"
fetch(l),
begin(l),
end
(l),
commit
(l),
select(l).
src/man/fetch.l
浏览文件 @
817fc4b2
.\" This is -*-nroff-*-
.\" XXX standard disclaimer belongs here....
.\" $Header: /cvsroot/pgsql/src/man/Attic/fetch.l,v 1.
5 1998/01/11 22:17:35
momjian Exp $
.\" $Header: /cvsroot/pgsql/src/man/Attic/fetch.l,v 1.
6 1998/03/23 15:09:29
momjian Exp $
.TH FETCH SQL 01/23/93 PostgreSQL PostgreSQL
.SH NAME
fetch - fetch instance(s) from a cursor
...
...
@@ -34,33 +34,33 @@ commands to update data.
Cursors may only be used inside of transaction blocks marked by
.IR begin (l)
and
.IR
end
(l)
.IR
commit
(l)
because the data that they store spans multiple user queries.
.SH EXAMPLE
.nf
--
--set up and use a cursor
--
begin
declare mycursor cursor for
begin
work;
declare mycursor cursor for
select * from pg-user;
--
--Fetch all the instances available in the cursor FOO
--
fetch all in FOO;
fetch all in FOO;
--
--Fetch 5 instances backward in the cursor FOO
--
fetch backward 5 in FOO;
fetch backward 5 in FOO;
--
--close
--
close foo;
end
;
close foo;
commit
;
.fi
.SH "SEE ALSO"
begin(l),
end
(l),
commit
(l),
close(l),
move(l),
select(l).
src/man/large_objects.3
浏览文件 @
817fc4b2
.\" This is -*-nroff-*-
.\" XXX standard disclaimer belongs here....
.\" $Header: /cvsroot/pgsql/src/man/Attic/large_objects.3,v 1.
5 1998/01/11 22:17:41
momjian Exp $
.\" $Header: /cvsroot/pgsql/src/man/Attic/large_objects.3,v 1.
6 1998/03/23 15:09:29
momjian Exp $
.TH "LARGE OBJECTS" INTRO 03/18/94 PostgreSQL PostgreSQL
.SH DESCRIPTION
.PP
...
...
@@ -259,7 +259,7 @@ library.
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/man/Attic/large_objects.3,v 1.
5 1998/01/11 22:17:41
momjian Exp $
* $Header: /cvsroot/pgsql/src/man/Attic/large_objects.3,v 1.
6 1998/03/23 15:09:29
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -458,7 +458,7 @@ main(int argc, char **argv)
exit_nicely(conn);
}
res = PQexec(conn, "begin");
res = PQexec(conn, "begin
work;
");
PQclear(res);
printf("importing file \\"%s\\" ...\\n", in_filename);
/* lobjOid = importFile(conn, in_filename); */
...
...
@@ -477,7 +477,7 @@ main(int argc, char **argv)
/* exportFile(conn, lobjOid, out_filename); */
lo_export(conn, lobjOid,out_filename);
res = PQexec(conn, "
end
");
res = PQexec(conn, "
commit;
");
PQclear(res);
PQfinish(conn);
exit(0);
...
...
src/man/libpq.3
浏览文件 @
817fc4b2
.\" This is -*-nroff-*-
.\" XXX standard disclaimer belongs here....
.\" $Header: /cvsroot/pgsql/src/man/Attic/libpq.3,v 1.1
2 1998/01/26 01:42:47 scrappy
Exp $
.\" $Header: /cvsroot/pgsql/src/man/Attic/libpq.3,v 1.1
3 1998/03/23 15:09:30 momjian
Exp $
.TH LIBPQ INTRO 03/12/94 PostgreSQL PostgreSQL
.SH DESCRIPTION
Libpq is the programmer's interface to Postgres. Libpq is a set of
...
...
@@ -735,8 +735,8 @@ main()
res = PQexec(conn, "CLOSE mycursor");
PQclear(res);
/*
end
the transaction */
res = PQexec(conn, "
END
");
/*
commit
the transaction */
res = PQexec(conn, "
COMMIT
");
PQclear(res);
/* close the connection to the database and cleanup */
...
...
@@ -985,8 +985,8 @@ main()
res = PQexec(conn, "CLOSE mycursor");
PQclear(res);
/*
end
the transaction */
res = PQexec(conn, "
END
");
/*
commit
the transaction */
res = PQexec(conn, "
COMMIT
");
PQclear(res);
/* close the connection to the database and cleanup */
...
...
src/man/lock.l
浏览文件 @
817fc4b2
.\" This is -*-nroff-*-
.\" XXX standard disclaimer belongs here....
.\" $Header: /cvsroot/pgsql/src/man/Attic/lock.l,v 1.
4 1998/03/18 15:48:57
momjian Exp $
.\" $Header: /cvsroot/pgsql/src/man/Attic/lock.l,v 1.
5 1998/03/23 15:09:34
momjian Exp $
.TH FETCH SQL 01/23/93 PostgreSQL PostgreSQL
.SH NAME
lock - exclusive lock a table
...
...
@@ -34,8 +34,8 @@ begin work;
lock table mytable;
select * from mytable;
update mytable set (x = 100);
end work
;
commit
;
.SH "SEE ALSO"
begin(l),
end
(l),
commit
(l),
select(l).
src/man/move.l
浏览文件 @
817fc4b2
.\" This is -*-nroff-*-
.\" XXX standard disclaimer belongs here....
.\" $Header: /cvsroot/pgsql/src/man/Attic/move.l,v 1.
2 1998/01/11 22:17:44
momjian Exp $
.\" $Header: /cvsroot/pgsql/src/man/Attic/move.l,v 1.
3 1998/03/23 15:09:41
momjian Exp $
.TH MOVE SQL 01/23/93 PostgreSQL PostgreSQL
.SH NAME
move - move cursor position
...
...
@@ -19,26 +19,26 @@ command: it fetches instances, but put them nowhere.
--
--set up and use a cursor
--
begin
declare mycursor cursor for
begin
work;
declare mycursor cursor for
select * from pg-user;
--
--Move for 5 instances in the cursor FOO
--
move 5 in FOO;
move 5 in FOO;
--
--Fetch 6th instance in the cursor FOO
--
fetch 1 in FOO;
fetch 1 in FOO;
--
--close
--
close foo;
end
;
close foo;
commit
;
.fi
.SH "SEE ALSO"
begin(l),
end
(l),
commit
(l),
close(l),
fetch(l),
select(l).
src/man/rollback.l
浏览文件 @
817fc4b2
.\" This is -*-nroff-*-
.\" XXX standard disclaimer belongs here....
.\" $Header: /cvsroot/pgsql/src/man/Attic/rollback.l,v 1.
3 1998/01/11 22:17:57
momjian Exp $
.\" $Header: /cvsroot/pgsql/src/man/Attic/rollback.l,v 1.
4 1998/03/23 15:09:43
momjian Exp $
.TH ROLLBACK SQL 01/20/96 PostgreSQL PostgreSQL
.\" XXX This .XA has to go after the .TH so that the index page number goes
.\" in the right place...
...
...
@@ -21,4 +21,4 @@ command.
.SH "SEE ALSO"
abort(l),
begin(l),
end
(l).
commit
(l).
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录