Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
8cc55b1c
Commit
8cc55b1c
authored
Mar 09, 2011
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve wording of initdb and pg_controldata manual pages.
gabrielle <gorthx@gmail.com>
parent
48ff3913
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
26 additions
and
24 deletions
+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
No files found.
doc/src/sgml/ref/initdb.sgml
View file @
8cc55b1c
...
@@ -22,9 +22,9 @@ PostgreSQL documentation
...
@@ -22,9 +22,9 @@ PostgreSQL documentation
<refsynopsisdiv>
<refsynopsisdiv>
<cmdsynopsis>
<cmdsynopsis>
<command>initdb</command>
<command>initdb</command>
<arg rep="repeat"><replaceable>option</></arg>
<arg rep="repeat"><replaceable>option</
replaceable
></arg>
<group choice="plain">
<group choice="plain">
<arg>--pgdata
</arg>
<arg>--pgdata
=
</arg>
<arg>-D </arg>
<arg>-D </arg>
<replaceable>directory</replaceable>
<replaceable>directory</replaceable>
</group>
</group>
...
@@ -186,16 +186,14 @@ PostgreSQL documentation
...
@@ -186,16 +186,14 @@ PostgreSQL documentation
</varlistentry>
</varlistentry>
<varlistentry>
<varlistentry>
<term><option>-X <replaceable class="parameter">directory</replaceable></option></term>
<term><option>--pwfile=<replaceable>filename</></option></term>
<term><option>--xlogdir=<replaceable class="parameter">directory</replaceable></option></term>
<listitem>
<listitem>
<para>
<para>
This option specifies the directory where the transaction log
Makes <command>initdb</command> read the database superuser's password
should be store
d.
from a file. The first line of the file is taken as the passwor
d.
</para>
</para>
</listitem>
</listitem>
</varlistentry>
</varlistentry>
<varlistentry>
<varlistentry>
<term><option>-U <replaceable class="parameter">username</replaceable></option></term>
<term><option>-U <replaceable class="parameter">username</replaceable></option></term>
<term><option>--username=<replaceable class="parameter">username</replaceable></option></term>
<term><option>--username=<replaceable class="parameter">username</replaceable></option></term>
...
@@ -226,14 +224,16 @@ PostgreSQL documentation
...
@@ -226,14 +224,16 @@ PostgreSQL documentation
</varlistentry>
</varlistentry>
<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>
<listitem>
<para>
<para>
Makes <command>initdb</command> read the database superuser's password
This option specifies the directory where the transaction log
from a file. The first line of the file is taken as the passwor
d.
should be store
d.
</para>
</para>
</listitem>
</listitem>
</varlistentry>
</varlistentry>
</variablelist>
</variablelist>
</para>
</para>
...
...
doc/src/sgml/ref/pg_controldata.sgml
View file @
8cc55b1c
...
@@ -22,6 +22,7 @@ PostgreSQL documentation
...
@@ -22,6 +22,7 @@ PostgreSQL documentation
<refsynopsisdiv>
<refsynopsisdiv>
<cmdsynopsis>
<cmdsynopsis>
<command>pg_controldata</command>
<command>pg_controldata</command>
<arg><replaceable class="parameter">option</replaceable></arg>
<arg><replaceable class="parameter">datadir</replaceable></arg>
<arg><replaceable class="parameter">datadir</replaceable></arg>
</cmdsynopsis>
</cmdsynopsis>
</refsynopsisdiv>
</refsynopsisdiv>
...
...
doc/src/sgml/ref/pg_ctl-ref.sgml
View file @
8cc55b1c
...
@@ -499,22 +499,22 @@ PostgreSQL documentation
...
@@ -499,22 +499,22 @@ PostgreSQL documentation
<title>Starting the Server</title>
<title>Starting the Server</title>
<para>
<para>
To start
up a
server:
To start
the
server:
<screen>
<screen>
<prompt>$</prompt> <userinput>pg_ctl start</userinput>
<prompt>$</prompt> <userinput>pg_ctl start</userinput>
</screen>
</screen>
</para>
</para>
<para>
<para>
An example of starting the server, and
waiting until the server is
To start the server,
waiting until the server is
accepting connection:
accepting connection
s
:
<screen>
<screen>
<prompt>$</prompt> <userinput>pg_ctl -w start</userinput>
<prompt>$</prompt> <userinput>pg_ctl -w start</userinput>
</screen>
</screen>
</para>
</para>
<para>
<para>
For a
server using port 5433, and
To start the
server using port 5433, and
running without <function>fsync</function>, use:
running without <function>fsync</function>, use:
<screen>
<screen>
<prompt>$</prompt> <userinput>pg_ctl -o "-F -p 5433" start</userinput>
<prompt>$</prompt> <userinput>pg_ctl -o "-F -p 5433" start</userinput>
...
@@ -530,7 +530,10 @@ PostgreSQL documentation
...
@@ -530,7 +530,10 @@ PostgreSQL documentation
<prompt>$</prompt> <userinput>pg_ctl stop</userinput>
<prompt>$</prompt> <userinput>pg_ctl stop</userinput>
</screen>
</screen>
The <option>-m</option> option allows control over
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>
</para>
</refsect2>
</refsect2>
...
@@ -557,7 +560,7 @@ PostgreSQL documentation
...
@@ -557,7 +560,7 @@ PostgreSQL documentation
</para>
</para>
<para>
<para>
To restart using port 5433
and disable
<function>fsync</> upon restart:
To restart using port 5433
, disabling
<function>fsync</> upon restart:
<screen>
<screen>
<prompt>$</prompt> <userinput>pg_ctl -o "-F -p 5433" restart</userinput>
<prompt>$</prompt> <userinput>pg_ctl -o "-F -p 5433" restart</userinput>
</screen>
</screen>
...
...
doc/src/sgml/ref/postgres-ref.sgml
View file @
8cc55b1c
...
@@ -66,9 +66,9 @@ PostgreSQL documentation
...
@@ -66,9 +66,9 @@ PostgreSQL documentation
The <command>postgres</command> command can also be called in
The <command>postgres</command> command can also be called in
single-user mode. The primary use for this mode is during
single-user mode. The primary use for this mode is during
bootstrapping by <xref linkend="app-initdb">. Sometimes it is used
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
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
When invoked in single-user
mode from the shell, the user can enter queries and the results
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
will be printed to the screen, but in a form that is more useful
...
@@ -413,8 +413,8 @@ PostgreSQL documentation
...
@@ -413,8 +413,8 @@ PostgreSQL documentation
<term><option>-P</option></term>
<term><option>-P</option></term>
<listitem>
<listitem>
<para>
<para>
Ignore system indexes when reading system tables
(
but still update
Ignore system indexes when reading system tables
,
but still update
the indexes when modifying the tables
)
. This is useful when
the indexes when modifying the tables. This is useful when
recovering from damaged system indexes.
recovering from damaged system indexes.
</para>
</para>
</listitem>
</listitem>
...
@@ -763,13 +763,11 @@ PostgreSQL documentation
...
@@ -763,13 +763,11 @@ PostgreSQL documentation
<para>
<para>
To start <command>postgres</command> with a specific
To start <command>postgres</command> with a specific
port:
port
, e.g. 1234
:
<screen>
<screen>
<prompt>$</prompt> <userinput>postgres -p 1234</userinput>
<prompt>$</prompt> <userinput>postgres -p 1234</userinput>
</screen>
</screen>
This command will start up <command>postgres</command>
To connect to this server using <application>psql</>, specify this port with the -p option:
communicating through the port 1234. In order to connect to this
server using <application>psql</>, you would need to run it as
<screen>
<screen>
<prompt>$</prompt> <userinput>psql -p 1234</userinput>
<prompt>$</prompt> <userinput>psql -p 1234</userinput>
</screen>
</screen>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment