Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
8cc55b1c
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,发现更多精彩内容 >>
提交
8cc55b1c
编写于
3月 09, 2011
作者:
B
Bruce Momjian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Improve wording of initdb and pg_controldata manual pages.
gabrielle <gorthx@gmail.com>
上级
48ff3913
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
26 addition
and
24 deletion
+26
-24
doc/src/sgml/ref/initdb.sgml
doc/src/sgml/ref/initdb.sgml
+10
-10
doc/src/sgml/ref/pg_controldata.sgml
doc/src/sgml/ref/pg_controldata.sgml
+1
-0
doc/src/sgml/ref/pg_ctl-ref.sgml
doc/src/sgml/ref/pg_ctl-ref.sgml
+9
-6
doc/src/sgml/ref/postgres-ref.sgml
doc/src/sgml/ref/postgres-ref.sgml
+6
-8
未找到文件。
doc/src/sgml/ref/initdb.sgml
浏览文件 @
8cc55b1c
...
...
@@ -22,9 +22,9 @@ PostgreSQL documentation
<refsynopsisdiv>
<cmdsynopsis>
<command>initdb</command>
<arg rep="repeat"><replaceable>option</></arg>
<arg rep="repeat"><replaceable>option</
replaceable
></arg>
<group choice="plain">
<arg>--pgdata
</arg>
<arg>--pgdata
=
</arg>
<arg>-D </arg>
<replaceable>directory</replaceable>
</group>
...
...
@@ -186,16 +186,14 @@ PostgreSQL documentation
</varlistentry>
<varlistentry>
<term><option>-X <replaceable class="parameter">directory</replaceable></option></term>
<term><option>--xlogdir=<replaceable class="parameter">directory</replaceable></option></term>
<term><option>--pwfile=<replaceable>filename</></option></term>
<listitem>
<para>
This option specifies the directory where the transaction log
should be store
d.
Makes <command>initdb</command> read the database superuser's password
from a file. The first line of the file is taken as the passwor
d.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-U <replaceable class="parameter">username</replaceable></option></term>
<term><option>--username=<replaceable class="parameter">username</replaceable></option></term>
...
...
@@ -226,14 +224,16 @@ PostgreSQL documentation
</varlistentry>
<varlistentry>
<term><option>--pwfile=<replaceable>filename</></option></term>
<term><option>-X <replaceable class="parameter">directory</replaceable></option></term>
<term><option>--xlogdir=<replaceable class="parameter">directory</replaceable></option></term>
<listitem>
<para>
Makes <command>initdb</command> read the database superuser's password
from a file. The first line of the file is taken as the passwor
d.
This option specifies the directory where the transaction log
should be store
d.
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
...
...
doc/src/sgml/ref/pg_controldata.sgml
浏览文件 @
8cc55b1c
...
...
@@ -22,6 +22,7 @@ PostgreSQL documentation
<refsynopsisdiv>
<cmdsynopsis>
<command>pg_controldata</command>
<arg><replaceable class="parameter">option</replaceable></arg>
<arg><replaceable class="parameter">datadir</replaceable></arg>
</cmdsynopsis>
</refsynopsisdiv>
...
...
doc/src/sgml/ref/pg_ctl-ref.sgml
浏览文件 @
8cc55b1c
...
...
@@ -499,22 +499,22 @@ PostgreSQL documentation
<title>Starting the Server</title>
<para>
To start
up a
server:
To start
the
server:
<screen>
<prompt>$</prompt> <userinput>pg_ctl start</userinput>
</screen>
</para>
<para>
An example of starting the server, and
waiting until the server is
accepting connection:
To start the server,
waiting until the server is
accepting connection
s
:
<screen>
<prompt>$</prompt> <userinput>pg_ctl -w start</userinput>
</screen>
</para>
<para>
For a
server using port 5433, and
To start the
server using port 5433, and
running without <function>fsync</function>, use:
<screen>
<prompt>$</prompt> <userinput>pg_ctl -o "-F -p 5433" start</userinput>
...
...
@@ -530,7 +530,10 @@ PostgreSQL documentation
<prompt>$</prompt> <userinput>pg_ctl stop</userinput>
</screen>
The <option>-m</option> option allows control over
<emphasis>how</emphasis> the server shuts down.
<emphasis>how</emphasis> the server shuts down:
<screen>
<prompt>$</prompt> <userinput>pg_ctl stop -m fast</userinput>
</screen>
</para>
</refsect2>
...
...
@@ -557,7 +560,7 @@ PostgreSQL documentation
</para>
<para>
To restart using port 5433
and disable
<function>fsync</> upon restart:
To restart using port 5433
, disabling
<function>fsync</> upon restart:
<screen>
<prompt>$</prompt> <userinput>pg_ctl -o "-F -p 5433" restart</userinput>
</screen>
...
...
doc/src/sgml/ref/postgres-ref.sgml
浏览文件 @
8cc55b1c
...
...
@@ -66,9 +66,9 @@ PostgreSQL documentation
The <command>postgres</command> command can also be called in
single-user mode. The primary use for this mode is during
bootstrapping by <xref linkend="app-initdb">. Sometimes it is used
for debugging or disaster recovery
(but
note that running a single-user
for debugging or disaster recovery
;
note that running a single-user
server is not truly suitable for debugging the server, since no
realistic interprocess communication and locking will happen
)
.
realistic interprocess communication and locking will happen.
When invoked in single-user
mode from the shell, the user can enter queries and the results
will be printed to the screen, but in a form that is more useful
...
...
@@ -413,8 +413,8 @@ PostgreSQL documentation
<term><option>-P</option></term>
<listitem>
<para>
Ignore system indexes when reading system tables
(
but still update
the indexes when modifying the tables
)
. This is useful when
Ignore system indexes when reading system tables
,
but still update
the indexes when modifying the tables. This is useful when
recovering from damaged system indexes.
</para>
</listitem>
...
...
@@ -763,13 +763,11 @@ PostgreSQL documentation
<para>
To start <command>postgres</command> with a specific
port:
port
, e.g. 1234
:
<screen>
<prompt>$</prompt> <userinput>postgres -p 1234</userinput>
</screen>
This command will start up <command>postgres</command>
communicating through the port 1234. In order to connect to this
server using <application>psql</>, you would need to run it as
To connect to this server using <application>psql</>, specify this port with the -p option:
<screen>
<prompt>$</prompt> <userinput>psql -p 1234</userinput>
</screen>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录