Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
ec37ea1c
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,发现更多精彩内容 >>
提交
ec37ea1c
编写于
7月 22, 2000
作者:
B
Bruce Momjian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Cleanups
上级
bb13830d
变更
11
隐藏空白更改
内联
并排
Showing
11 changed file
with
30 addition
and
26 deletion
+30
-26
doc/src/sgml/ref/alter_group.sgml
doc/src/sgml/ref/alter_group.sgml
+2
-2
doc/src/sgml/ref/alter_table.sgml
doc/src/sgml/ref/alter_table.sgml
+2
-2
doc/src/sgml/ref/alter_user.sgml
doc/src/sgml/ref/alter_user.sgml
+4
-4
doc/src/sgml/ref/cluster.sgml
doc/src/sgml/ref/cluster.sgml
+2
-2
doc/src/sgml/ref/copy.sgml
doc/src/sgml/ref/copy.sgml
+2
-2
doc/src/sgml/ref/create_function.sgml
doc/src/sgml/ref/create_function.sgml
+2
-2
doc/src/sgml/ref/create_rule.sgml
doc/src/sgml/ref/create_rule.sgml
+3
-3
doc/src/sgml/ref/create_table.sgml
doc/src/sgml/ref/create_table.sgml
+2
-2
doc/src/sgml/ref/fetch.sgml
doc/src/sgml/ref/fetch.sgml
+2
-2
doc/src/sgml/ref/pg_upgrade.sgml
doc/src/sgml/ref/pg_upgrade.sgml
+2
-2
doc/src/sgml/ref/update.sgml
doc/src/sgml/ref/update.sgml
+7
-3
未找到文件。
doc/src/sgml/ref/alter_group.sgml
浏览文件 @
ec37ea1c
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/alter_group.sgml,v 1.
1 2000/01/14 22:11:32 petere
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/alter_group.sgml,v 1.
2 2000/07/22 02:39:10 momjian
Exp $
Postgres documentation
-->
...
...
@@ -114,7 +114,7 @@ ALTER GROUP <replaceable class="PARAMETER">name</replaceable> DROP USER <replace
ALTER GROUP staff ADD USER karl, john
</programlisting>
Remove a user from a group
Remove a user from a group
:
<programlisting>
ALTER GROUP workers DROP USER beth
...
...
doc/src/sgml/ref/alter_table.sgml
浏览文件 @
ec37ea1c
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/alter_table.sgml,v 1.1
3 2000/06/09 01:43:57
momjian Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/alter_table.sgml,v 1.1
4 2000/07/22 02:39:10
momjian Exp $
Postgres documentation
-->
...
...
@@ -307,7 +307,7 @@ CREATE TABLE temp AS SELECT did, city FROM distributors;
DROP TABLE distributors;
CREATE TABLE distributors (
did DECIMAL(3) DEFAULT 1,
name VARCHAR(40) NOT NULL
,
name VARCHAR(40) NOT NULL
);
INSERT INTO distributors SELECT * FROM temp;
DROP TABLE temp;
...
...
doc/src/sgml/ref/alter_user.sgml
浏览文件 @
ec37ea1c
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/alter_user.sgml,v 1.1
1 2000/03/27 17:14:42 thomas
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/alter_user.sgml,v 1.1
2 2000/07/22 02:39:10 momjian
Exp $
Postgres documentation
-->
...
...
@@ -160,7 +160,7 @@ ERROR: ALTER USER: user "username" does not exist
ALTER USER davide WITH PASSWORD 'hu8jmn3';
</programlisting>
Change a user's valid until date
Change a user's valid until date
:
<programlisting>
ALTER USER manuel VALID UNTIL 'Jan 31 2030';
...
...
@@ -168,12 +168,12 @@ ALTER USER manuel VALID UNTIL 'Jan 31 2030';
Change a user's valid until date, specifying that his
authorisation should expire at midday on 4th May 1998 using
the time zone which is one hour ahead of UTC
the time zone which is one hour ahead of UTC
:
<programlisting>
ALTER USER chris VALID UNTIL 'May 4 12:00:00 1998 +1';
</programlisting>
Give a user the ability to create other users and new databases
.
Give a user the ability to create other users and new databases
:
<programlisting>
ALTER USER miriam CREATEUSER CREATEDB;
...
...
doc/src/sgml/ref/cluster.sgml
浏览文件 @
ec37ea1c
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/cluster.sgml,v 1.
7 1999/07/22 15:09:06 thomas
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/cluster.sgml,v 1.
8 2000/07/22 02:39:10 momjian
Exp $
Postgres documentation
-->
...
...
@@ -204,7 +204,7 @@ SELECT <replaceable class="parameter">columnlist</replaceable> INTO TABLE <repla
Usage
</title>
<para>
Cluster the employees relation on the basis of its salary attribute
Cluster the employees relation on the basis of its salary attribute
:
</para>
<programlisting>
CLUSTER emp_ind ON emp;
...
...
doc/src/sgml/ref/copy.sgml
浏览文件 @
ec37ea1c
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/copy.sgml,v 1.1
6 2000/04/18 23:44:58
momjian Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/copy.sgml,v 1.1
7 2000/07/22 02:39:10
momjian Exp $
Postgres documentation
-->
...
...
@@ -407,7 +407,7 @@ ERROR: <replaceable>reason</replaceable>
</title>
<para>
The following example copies a table to standard output,
using a
vertical bar ("|"
) as the field
using a
pipe (|
) as the field
delimiter:
</para>
<programlisting>
...
...
doc/src/sgml/ref/create_function.sgml
浏览文件 @
ec37ea1c
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_function.sgml,v 1.1
3 2000/03/27 17:14:42 thomas
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_function.sgml,v 1.1
4 2000/07/22 02:39:10 momjian
Exp $
Postgres documentation
-->
...
...
@@ -293,7 +293,7 @@ CREATE TABLE product (
find a type conversion function automatically, the sql function has
to have the same name as the return type, and overloading is
unavoidable. The function name is overloaded by using the second
form of the <command>AS</command> clause in the SQL definition
form of the <command>AS</command> clause in the SQL definition
:
</para>
<programlisting>
CREATE FUNCTION point(complex) RETURNS point
...
...
doc/src/sgml/ref/create_rule.sgml
浏览文件 @
ec37ea1c
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_rule.sgml,v 1.1
7 2000/07/21 04:22:54
momjian Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_rule.sgml,v 1.1
8 2000/07/22 02:39:10
momjian Exp $
Postgres documentation
-->
...
...
@@ -203,7 +203,7 @@ ON UPDATE TO emp-1.salary WHERE emp-2.name = "Joe"
report an error because the query cycled too many times:
<example>
<title>Example of a circular rewrite rule combination
.
</title>
<title>Example of a circular rewrite rule combination
:
</title>
<programlisting>
CREATE RULE bad_rule_combination_1 AS
ON SELECT TO emp
...
...
@@ -220,7 +220,7 @@ CREATE RULE bad_rule_combination_2 AS
<para>
This attempt to select from EMP will cause
<productname>Postgres</productname> to issue an error
because the queries cycled too many times
.
because the queries cycled too many times
:
<programlisting>
SELECT * FROM emp;
</programlisting></para>
...
...
doc/src/sgml/ref/create_table.sgml
浏览文件 @
ec37ea1c
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_table.sgml,v 1.3
1 2000/07/14 15:27:14 thomas
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_table.sgml,v 1.3
2 2000/07/22 02:39:10 momjian
Exp $
Postgres documentation
-->
...
...
@@ -221,7 +221,7 @@ ERROR: DEFAULT: type mismatched
<para>
<note>
<para>
As of Postgres version 6.0, c
onsistent array dimensions within an
C
onsistent array dimensions within an
attribute are not enforced. This will likely change in a future
release.
</para>
...
...
doc/src/sgml/ref/fetch.sgml
浏览文件 @
ec37ea1c
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/fetch.sgml,v 1.1
0 2000/05/11 17:32:33
momjian Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/fetch.sgml,v 1.1
1 2000/07/22 02:39:10
momjian Exp $
Postgres documentation
-->
...
...
@@ -355,7 +355,7 @@ COMMIT WORK;
<para>
<acronym>SQL92</acronym> allows absolute positioning of the cursor for
FETCH, and allows placing the results into explicit variables
.
FETCH, and allows placing the results into explicit variables
:
<synopsis>
FETCH ABSOLUTE <replaceable class="PARAMETER">#</replaceable>
...
...
doc/src/sgml/ref/pg_upgrade.sgml
浏览文件 @
ec37ea1c
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/Attic/pg_upgrade.sgml,v 1.1
0 2000/07/21 00:24:37
momjian Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/Attic/pg_upgrade.sgml,v 1.1
1 2000/07/22 02:39:10
momjian Exp $
Postgres documentation
-->
...
...
@@ -78,7 +78,7 @@ $ pg_dumpall -s >db.out
<step performance="required">
<para>
Do
Do
:
<programlisting>
$ make install
</programlisting>
...
...
doc/src/sgml/ref/update.sgml
浏览文件 @
ec37ea1c
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/update.sgml,v 1.1
0 2000/06/09 01:44:0
0 momjian Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/update.sgml,v 1.1
1 2000/07/22 02:39:1
0 momjian Exp $
Postgres documentation
-->
...
...
@@ -157,8 +157,12 @@ UPDATE <replaceable class="parameter">#</replaceable>
Change word "Drama" with "Dramatic" on column kind:
<programlisting>
UPDATE films SET kind = 'Dramatic' WHERE kind = 'Drama';
SELECT * FROM films WHERE kind = 'Dramatic' OR kind = 'Drama';
UPDATE films
SET kind = 'Dramatic'
WHERE kind = 'Drama';
SELECT *
FROM films
WHERE kind = 'Dramatic' OR kind = 'Drama';
code | title | did | date_prod | kind | len
-------+---------------+-----+------------+----------+-------
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录