1 | <sect2>
|
---|
2 | <title>Contents</title>
|
---|
3 |
|
---|
4 | <para>The <application>Postgre<acronym>SQL</acronym></application> package contains
|
---|
5 | <command>clusterdb</command>,
|
---|
6 | <command>createdb</command>,
|
---|
7 | <command>createlang</command>,
|
---|
8 | <command>createuser</command>,
|
---|
9 | <command>dropdb</command>,
|
---|
10 | <command>droplang</command>,
|
---|
11 | <command>dropuser</command>,
|
---|
12 | <command>ecpg</command>,
|
---|
13 | <command>initdb</command>,
|
---|
14 | <command>initlocation</command>,
|
---|
15 | <command>ipcclean</command>,
|
---|
16 | <command>pg_config</command>,
|
---|
17 | <command>pg_controldata</command>,
|
---|
18 | <command>pg_ctl</command>,
|
---|
19 | <command>pg_dump</command>,
|
---|
20 | <command>pg_dumpall</command>,
|
---|
21 | <command>pg_encoding</command>,
|
---|
22 | <command>pg_id</command>,
|
---|
23 | <command>pg_resetxlog</command>,
|
---|
24 | <command>pg_restore</command>,
|
---|
25 | <command>pgtclsh</command>,
|
---|
26 | <command>pgtksh</command>,
|
---|
27 | <command>pltcl_delmod</command>,
|
---|
28 | <command>pltcl_listmod</command>,
|
---|
29 | <command>pltcl_loadmod</command>,
|
---|
30 | <command>postgres</command>,
|
---|
31 | <command>postmaster</command>,
|
---|
32 | <command>psql</command>,
|
---|
33 | <command>vacuumdb</command>,
|
---|
34 | <filename class="libraryfile">libecpg</filename>,
|
---|
35 | <filename class="libraryfile">libpgtcl</filename>,
|
---|
36 | <filename class="libraryfile">libpgtypes</filename>,
|
---|
37 | <filename class="libraryfile">libpq</filename> and various charset
|
---|
38 | modules.</para>
|
---|
39 |
|
---|
40 | </sect2>
|
---|
41 |
|
---|
42 | <sect2><title>Description</title>
|
---|
43 |
|
---|
44 | <sect3><title>clusterdb</title>
|
---|
45 | <para><command>clusterdb</command> is a utility for reclustering tables
|
---|
46 | in a <application>Postgre<acronym>SQL</acronym></application>
|
---|
47 | database.</para></sect3>
|
---|
48 |
|
---|
49 | <sect3><title>createdb</title>
|
---|
50 | <para><command>createdb</command> creates a new
|
---|
51 | <application>Postgre<acronym>SQL</acronym></application> database.</para></sect3>
|
---|
52 |
|
---|
53 | <sect3><title>createlang</title>
|
---|
54 | <para><command>createlang</command> defines a new
|
---|
55 | <application>Postgre<acronym>SQL</acronym></application> procedural
|
---|
56 | language.</para></sect3>
|
---|
57 |
|
---|
58 | <sect3><title>createuser</title>
|
---|
59 | <para><command>createuser</command> defines a new
|
---|
60 | <application>Postgre<acronym>SQL</acronym></application> user account.</para></sect3>
|
---|
61 |
|
---|
62 | <sect3><title>dropdb</title>
|
---|
63 | <para><command>dropdb</command> removes a
|
---|
64 | <application>Postgre<acronym>SQL</acronym></application> database.</para></sect3>
|
---|
65 |
|
---|
66 | <sect3><title>droplang</title>
|
---|
67 | <para><command>droplang</command> removes a
|
---|
68 | <application>Postgre<acronym>SQL</acronym></application> procedural
|
---|
69 | language.</para></sect3>
|
---|
70 |
|
---|
71 | <sect3><title>dropuser</title>
|
---|
72 | <para><command>dropuser</command> removes a
|
---|
73 | <application>Postgre<acronym>SQL</acronym></application> user account.</para></sect3>
|
---|
74 |
|
---|
75 | <sect3><title>ecpg</title>
|
---|
76 | <para><command>ecpg</command> is the embedded <acronym>SQL</acronym> preprocessor.</para></sect3>
|
---|
77 |
|
---|
78 | <sect3><title>initdb</title>
|
---|
79 | <para><command>initdb</command> create a new database cluster.</para></sect3>
|
---|
80 |
|
---|
81 | <sect3><title>initlocation</title>
|
---|
82 | <para><command>initlocation</command> creates a secondary database storage
|
---|
83 | area.</para></sect3>
|
---|
84 |
|
---|
85 | <sect3><title>ipcclean</title>
|
---|
86 | <para><command>ipcclean</command> removes shared memory and semaphores left over by an
|
---|
87 | aborted database server.</para></sect3>
|
---|
88 |
|
---|
89 | <sect3><title>pg_config</title>
|
---|
90 | <para><command>pg_config</command> retrieves
|
---|
91 | <application>Postgre<acronym>SQL</acronym></application> version
|
---|
92 | information.</para></sect3>
|
---|
93 |
|
---|
94 | <sect3><title>pg_controldata</title>
|
---|
95 | <para><command>pg_controldata</command> returns information initialized during
|
---|
96 | <command>initdb</command>, such as the catalog version and server
|
---|
97 | locale.</para></sect3>
|
---|
98 |
|
---|
99 | <sect3><title>pg_ctl</title>
|
---|
100 | <para><command>pg_ctl</command> controls stopping and starting the database
|
---|
101 | server.</para></sect3>
|
---|
102 |
|
---|
103 | <sect3><title>pg_dump</title>
|
---|
104 | <para><command>pg_dump</command> dumps database data and metadata into scripts which are
|
---|
105 | used to recreate the database.</para></sect3>
|
---|
106 |
|
---|
107 | <sect3><title>pg_dumpall</title>
|
---|
108 | <para><command>pg_dumpall</command> recursively calls
|
---|
109 | <command>pg_dump</command> for each database in a
|
---|
110 | cluster.</para></sect3>
|
---|
111 |
|
---|
112 | <sect3><title>pg_resetxlog</title>
|
---|
113 | <para><command>pg_resetxlog</command> clears the write-ahead log and optionally resets some
|
---|
114 | fields in the <filename>pg_control</filename> file.</para></sect3>
|
---|
115 |
|
---|
116 | <sect3><title>pg_restore</title>
|
---|
117 | <para><command>pg_restore</command> creates databases from dump files created by
|
---|
118 | <command>pg_dump</command>.</para></sect3>
|
---|
119 |
|
---|
120 | <sect3><title>pgtclsh</title>
|
---|
121 | <para><command>pgtclsh</command> is a <application>Tcl</application>
|
---|
122 | shell interface extended with
|
---|
123 | <application>Postgre<acronym>SQL</acronym></application> database access
|
---|
124 | functions.</para></sect3>
|
---|
125 |
|
---|
126 | <sect3><title>pgtksh</title>
|
---|
127 | <para><command>pgtksh</command> is a
|
---|
128 | <application>Tcl</application>/<application>Tk</application> shell
|
---|
129 | interface extended with
|
---|
130 | <application>Postgre<acronym>SQL</acronym></application> database access
|
---|
131 | functions.</para></sect3>
|
---|
132 |
|
---|
133 | <sect3><title>postgres</title>
|
---|
134 | <para><command>postgres</command> is a single user database server, generally used for
|
---|
135 | debugging.</para></sect3>
|
---|
136 |
|
---|
137 | <sect3><title>postmaster</title>
|
---|
138 | <para><command>postmaster</command> is the multi-user database daemon.</para></sect3>
|
---|
139 |
|
---|
140 | <sect3><title>psql</title>
|
---|
141 | <para><command>psql</command> is a console based database shell.</para></sect3>
|
---|
142 |
|
---|
143 | <sect3><title>vacuumdb</title>
|
---|
144 | <para><command>vacuumdb</command> compacts databases and generates statistics for the
|
---|
145 | query analyzer.</para></sect3>
|
---|
146 |
|
---|
147 | </sect2>
|
---|