Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
9c1d2d66
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,发现更多精彩内容 >>
提交
9c1d2d66
编写于
2月 18, 2003
作者:
B
Bruce Momjian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update changes from Ian Barwick.
上级
44ddef3b
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
20 addition
and
15 deletion
+20
-15
doc/FAQ
doc/FAQ
+9
-6
doc/src/FAQ/FAQ.html
doc/src/FAQ/FAQ.html
+11
-9
未找到文件。
doc/FAQ
浏览文件 @
9c1d2d66
Frequently Asked Questions (FAQ) for PostgreSQL
Last updated:
Fri Feb 14 09:03:00
EST 2003
Last updated:
Tue Feb 18 00:06:42
EST 2003
Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us)
...
...
@@ -194,7 +194,7 @@
The database server can run on Windows NT and Win2k using Cygwin, the
Cygnus Unix/NT porting library. See pgsql/doc/FAQ_MSWIN in the
distribution or the MS Windows FAQ at
http://www.PostgreSQL.org/docs/faq-mswin.html.
http://www.
ca.
PostgreSQL.org/docs/faq-mswin.html.
A native port to MS Win NT/2000/XP is currently being worked on.
...
...
@@ -422,6 +422,9 @@
also PHPPgAdmin ( http://phppgadmin.sourceforge.net/ ), a web-based
interface to PostgreSQL.
See http://techdocs.postgresql.org/guides/GUITools for a more detailed
list.
2.4) What languages are able to communicate with PostgreSQL?
Most popular programming languages contain an interface to PostgreSQL.
...
...
@@ -823,13 +826,13 @@ Type Internal Name Notes
VARCHAR(n) varchar size specifies maximum length, no padding
CHAR(n) bpchar blank padded to the specified fixed length
TEXT text no specific upper limit on length
"char" char one character
BYTEA bytea variable-length byte array (null-byte safe)
"char" char one character
You will see the internal name when examining system catalogs and in
some error messages.
The
la
st four types above are "varlena" types (i.e., the first four
The
fir
st four types above are "varlena" types (i.e., the first four
bytes on disk are the length, followed by the data). Thus the actual
space used is slightly greater than the declared size. However, these
data types are also subject to compression or being stored out-of-line
...
...
@@ -841,8 +844,8 @@ BYTEA bytea variable-length byte array (null-byte safe)
CHAR(n) is for storing strings that are all the same length. CHAR(n)
pads with blanks to the specified length, while VARCHAR(n) only stores
the characters supplied. BYTEA is for storing binary data,
particularly values that include NULL bytes.
These types have similar
performance characteristics.
particularly values that include NULL bytes.
All the types described
here have similar
performance characteristics.
4.15.1) How do I create a serial/auto-incrementing field?
...
...
doc/src/FAQ/FAQ.html
浏览文件 @
9c1d2d66
...
...
@@ -10,7 +10,7 @@
alink=
"#0000ff"
>
<H1>
Frequently Asked Questions (FAQ) for PostgreSQL
</H1>
<P>
Last updated:
Fri Feb 14 09:03:00
EST 2003
</P>
<P>
Last updated:
Tue Feb 18 00:06:42
EST 2003
</P>
<P>
Current maintainer: Bruce Momjian (
<A
href=
"mailto:pgman@candle.pha.pa.us"
>
pgman@candle.pha.pa.us
</A>
)
<BR>
...
...
@@ -245,8 +245,8 @@
<P>
The database server can run on Windows NT and Win2k using
Cygwin, the Cygnus Unix/NT porting library. See
<I>
pgsql/doc/FAQ_MSWIN
</I>
in the distribution or the MS Windows FAQ
at
<A
href=
"http://www.PostgreSQL.org/docs/faq-mswin.html"
>
http://www.PostgreSQL.org/docs/faq-mswin.html
</A>
.
</P>
at
<A
href=
"http://www.
ca.
PostgreSQL.org/docs/faq-mswin.html"
>
http://www.
ca.
PostgreSQL.org/docs/faq-mswin.html
</A>
.
</P>
<p>
A native port to MS Win NT/2000/XP is currently being worked
on.
</p>
...
...
@@ -535,7 +535,7 @@
<H4><A
name=
"2.3"
>
2.3
</A>
) Does PostgreSQL have a graphical user
interface?
</H4>
Yes, there are several graphical interfaces to PostgreSQL available.
<P>
Yes, there are several graphical interfaces to PostgreSQL available.
These include PgAccess
<a
href=
"http://www.pgaccess.org"
>
http://www.pgaccess.org
</a>
), PgAdmin II (
<a
href=
"http://www.pgadmin.org"
>
http://www.pgadmin.org
</a>
,
...
...
@@ -545,7 +545,9 @@
http://www.thekompany.com/products/rekall/
</a>
, proprietary). There is
also PHPPgAdmin (
<a
href=
"http://phppgadmin.sourceforge.net/"
>
http://phppgadmin.sourceforge.net/
</a>
), a web-based interface to
PostgreSQL.
PostgreSQL.
</P>
<P>
See
<a
href=
"http://techdocs.postgresql.org/guides/GUITools"
>
http://techdocs.postgresql.org/guides/GUITools
</a>
for a more detailed list.
</P>
<H4><A
name=
"2.4"
>
2.4
</A>
) What languages are able to communicate with
PostgreSQL?
</H4>
...
...
@@ -1037,14 +1039,14 @@ Type Internal Name Notes
VARCHAR(n) varchar size specifies maximum length, no padding
CHAR(n) bpchar blank padded to the specified fixed length
TEXT text no specific upper limit on length
"char" char one character
BYTEA bytea variable-length byte array (null-byte safe)
"char" char one character
</PRE>
<P>
You will see the internal name when examining system catalogs
and in some error messages.
</P>
<P>
The
la
st four types above are "varlena" types (i.e., the first
<P>
The
fir
st four types above are "varlena" types (i.e., the first
four bytes on disk are the length, followed by the data). Thus the
actual space used is slightly greater than the declared size.
However, these data types are also subject to compression or being
...
...
@@ -1058,8 +1060,8 @@ BYTEA bytea variable-length byte array (null-byte safe)
same length.
<SMALL>
CHAR(n)
</SMALL>
pads with blanks to the specified
length, while
<SMALL>
VARCHAR(n)
</SMALL>
only stores the characters
supplied.
<SMALL>
BYTEA
</SMALL>
is for storing binary data,
particularly values that include
<SMALL>
NULL
</SMALL>
bytes.
Thes
e
types have similar performance characteristics.
</P>
particularly values that include
<SMALL>
NULL
</SMALL>
bytes.
All th
e
types
described here
have similar performance characteristics.
</P>
<H4><A
name=
"4.15.1"
>
4.15.1
</A>
) How do I create a
serial/auto-incrementing field?
</H4>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录