source: server/databases/postgresql.xml@ 62a6a73

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 62a6a73 was 62a6a73, checked in by Igor Živković <igor@…>, 10 years ago

update to postgresql-9.3.2

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@12352 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 26.9 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY postgresql-download-http " ">
8 <!ENTITY postgresql-download-ftp "ftp://ftp5.us.postgresql.org/pub/PostgreSQL/source/v&postgresql-version;/postgresql-&postgresql-version;.tar.bz2">
9 <!ENTITY postgresql-md5sum "8c905155e3e9f9367b4299a9acb41d2a">
10 <!ENTITY postgresql-size "17 MB">
11 <!ENTITY postgresql-buildsize "168 MB (additional 170 MB to run the testsuite)">
12 <!ENTITY postgresql-time "1.4 SBU (additional 0.2 SBU to run the testsuite)">
13]>
14
15<sect1 id="postgresql" xreflabel="PostgreSQL-&postgresql-version;">
16 <?dbhtml filename="postgresql.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>PostgreSQL-&postgresql-version;</title>
24
25 <indexterm zone="postgresql">
26 <primary sortas="a-PostgreSQL">PostgreSQL</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to PostgreSQL</title>
31
32 <para><application>PostgreSQL</application> is an advanced
33 object-relational database management system (ORDBMS), derived
34 from the Berkeley Postgres database management system.</para>
35
36 &lfs74_checked;
37
38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <itemizedlist spacing="compact">
40 <listitem>
41 <para>Download (HTTP): <ulink url="&postgresql-download-http;"/></para>
42 </listitem>
43 <listitem>
44 <para>Download (FTP): <ulink url="&postgresql-download-ftp;"/></para>
45 </listitem>
46 <listitem>
47 <para>Download MD5 sum: &postgresql-md5sum;</para>
48 </listitem>
49 <listitem>
50 <para>Download size: &postgresql-size;</para>
51 </listitem>
52 <listitem>
53 <para>Estimated disk space required: &postgresql-buildsize;</para>
54 </listitem>
55 <listitem>
56 <para>Estimated build time: &postgresql-time;</para>
57 </listitem>
58 </itemizedlist>
59
60 <bridgehead renderas="sect3">PostgreSQL Dependencies</bridgehead>
61
62 <bridgehead renderas="sect4">Optional</bridgehead>
63 <para role="optional"><xref linkend="python2"/>,
64 <xref linkend="tcl"/>,
65 <xref linkend="openssl"/>,
66 <xref linkend="libxml2"/>,
67 <xref linkend="libxslt"/>,
68 <xref linkend="openldap"/>,
69 <xref linkend="linux-pam"/>,
70 <xref linkend="mitkrb"/> and
71 <ulink url="http://developer.apple.com/networking/bonjour/">Bonjour</ulink></para>
72
73 <bridgehead renderas="sect4">Optional (To Regenerate Documentation)</bridgehead>
74 <para role="optional"><xref linkend="sgml-dtd"/>,
75 <xref linkend="docbook-dsssl"/>,
76 <xref linkend="openjade"/>, and
77 <xref linkend="perl-sgmlspm"/></para>
78
79 <para condition="html" role="usernotes">User Notes:
80 <ulink url="&blfs-wiki;/postgresql"/></para>
81
82 </sect2>
83
84 <sect2 role="installation">
85 <title>Installation of PostgreSQL</title>
86
87 <para>Install <application>PostgreSQL</application> with the
88 following commands: </para>
89
90<screen><userinput>sed -i '/DEFAULT_PGSOCKET_DIR/s@/tmp@/run/postgresql@' src/include/pg_config_manual.h &amp;&amp;
91sed -i -e 's@psql\\"@&amp; -h /tmp@' src/test/regress/pg_regress{,_main}.c &amp;&amp;
92sed -i -e 's@gres\\"@&amp; -k /tmp@' src/test/regress/pg_regress.c &amp;&amp;
93./configure --prefix=/usr \
94 --enable-thread-safety \
95 --docdir=/usr/share/doc/postgresql-&postgresql-version; &amp;&amp;
96make</userinput></screen>
97
98 <para>To test the results, issue: <command>make check</command>.</para>
99
100 <para>There are a number of programs in the
101 <filename class="directory">contrib/</filename> directory. If you are going
102 to run this installation as a server and wish to build some of them, enter
103 <command>make -C contrib</command> or
104 <command>make -C contrib/<replaceable>&lt;SUBDIR-NAME&gt;</replaceable></command> for each subdirectory.
105 </para>
106
107 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
108
109<screen role="root"><userinput>make install &amp;&amp;
110make install-docs</userinput></screen>
111
112 <para>If you made any of the <filename class="directory">contrib/</filename>
113 programs, as the <systemitem class="username">root</systemitem> user:</para>
114
115<screen role="nodump/"><userinput>make -C contrib/<replaceable>&lt;SUBDIR-NAME&gt;</replaceable> install</userinput></screen>
116
117 <para><emphasis>If you only intend to use <application>PostgreSQL</application>
118 as a client to connect to a server on another machine, your installation is
119 complete and you should not run the remaining commands.</emphasis></para>
120
121 <!-- 'Upgrading' seems to only ever exist in the docs for *previous* version -->
122 <note>
123 <para>If you are upgrading an existing system and are going to install
124 the new files over the old ones, then you should back up your data, shut
125 down the old server and follow the instructions in <ulink
126 url="http://www.postgresql.org/docs/9.0/static/install-upgrading.html">the
127 official <application>PostgreSQL</application> documentation</ulink>.</para>
128 </note>
129
130 <para>Initialize a database cluster with the following commands issued by the
131 <systemitem class="username">root</systemitem> user:</para>
132
133<screen role="root"><userinput>install -v -dm700 /srv/pgsql/data &amp;&amp;
134install -v -dm755 /run/postgresql &amp;&amp;
135groupadd -g 41 postgres &amp;&amp;
136useradd -c "PostgreSQL Server" -g postgres -d /srv/pgsql/data \
137 -u 41 postgres &amp;&amp;
138chown -Rv postgres:postgres /srv/pgsql /run/postgresql &amp;&amp;
139su - postgres -c '/usr/bin/initdb -D /srv/pgsql/data'</userinput></screen>
140
141 <para>As the <systemitem class="username">root</systemitem> user, start the
142 database server with the following command:</para>
143
144<screen role="root"><userinput>su - postgres -c '/usr/bin/postmaster -D /srv/pgsql/data > \
145 /srv/pgsql/data/logfile 2&gt;&amp;1 &amp;'</userinput></screen>
146
147 <para>Still as user <systemitem class="username">root</systemitem>, create
148 a database and verify the installation:</para>
149
150<screen role="root"><userinput>su - postgres -c '/usr/bin/createdb test' &amp;&amp;
151echo "create table t1 ( name varchar(20), state_province varchar(20) );" \
152 | (su - postgres -c '/usr/bin/psql test ') &amp;&amp;
153echo "insert into t1 values ('Billy', 'NewYork');" \
154 | (su - postgres -c '/usr/bin/psql test ') &amp;&amp;
155echo "insert into t1 values ('Evanidus', 'Quebec');" \
156 | (su - postgres -c '/usr/bin/psql test ') &amp;&amp;
157echo "insert into t1 values ('Jesse', 'Ontario');" \
158 | (su - postgres -c '/usr/bin/psql test ') &amp;&amp;
159echo "select * from t1;" | (su - postgres -c '/usr/bin/psql test')</userinput></screen>
160
161 </sect2>
162
163 <sect2 role="commands">
164 <title>Command Explanations</title>
165
166 <para>
167 <command>sed -i ...</command>: These seds change server socket location
168 from <filename class="directory">/tmp</filename> to
169 <filename class="directory">/run/postgresql</filename> and fix up the
170 regression tests to use <filename class="directory">/tmp</filename> so
171 that they can work reliably.
172 </para>
173
174 <para><parameter>--docdir=/usr/share/doc/postgresql-&postgresql-version;</parameter>:
175 This switch puts the documentation in a versioned directory.</para>
176
177 <para><parameter>--enable-thread-safety</parameter>: This switch makes the
178 client libraries thread-safe by allowing concurrent threads in
179 <filename class='libraryfile'>libpq</filename> and ECPG programs to safely
180 control their private connection handles.</para>
181
182 <para><option>--with-openssl</option>: build with support for
183 <application>OpenSSL</application> encrypted connections.</para>
184
185 <para><option>--with-perl</option>: build the PL/Perl server-side language.
186 </para>
187
188 <para><option>--with-python</option>: build the PL/Python server-side
189 language.</para>
190
191 <para><option>--with-tcl</option>: build the PL/Tcl server-side language.</para>
192
193 <para><command>groupadd ...</command>; <command>useradd ...</command>:
194 These commands add an unprivileged user and group to run the database
195 server.</para>
196
197 <para><command>createdb test; create table t1; insert into t1 values...;
198 select * from t1</command>: Create a database, add a table to it, insert
199 some rows into the table and select them to verify that the installation
200 is working properly.</para>
201
202 </sect2>
203
204 <sect2 role="configuration">
205 <title>Configuring PostgreSQL</title>
206
207 <sect3 id="postgresql-config">
208 <title>Config Files</title>
209
210 <para><filename>$PGDATA/pg_ident.con</filename>,
211 <filename>$PGDATA/pg_hba.conf</filename> and
212 <filename>$PGDATA/postgresql.conf</filename></para>
213
214 <indexterm zone="postgresql postgresql-config">
215 <primary sortas="e-A.PGDATA-pg_ident.con">$PGDATA/pg_indent.con</primary>
216 </indexterm>
217
218 <indexterm zone="postgresql postgresql-config">
219 <primary sortas="e-A.PGDATA-pg_hba.conf">$PGDATA/pg_hba_conf</primary>
220 </indexterm>
221
222 <indexterm zone="postgresql postgresql-config">
223 <primary sortas="e-A.PGDATA-postgresql.conf">$PGDATA/postgresql.conf</primary>
224 </indexterm>
225
226 <para>The <envar>PGDATA</envar> environment variable is used to
227 distinguish database clusters from one another by setting it to
228 the value of the directory which contains the cluster desired.
229 The three configuration files exist in every <filename
230 class="directory">PGDATA/</filename> directory. Details on the
231 format of the files and the options that can be set in each can
232 be found in <ulink
233 url="file:///usr/share/doc/postgresql-&postgresql-version;/html/index.html"/>.</para>
234
235 </sect3>
236
237 <sect3 id="postgresql-init">
238 <title>Boot Script</title>
239
240 <para>Install the <filename>/etc/rc.d/init.d/postgresql</filename>
241 init script included in the
242 <xref linkend="bootscripts"/> package.</para>
243
244 <indexterm zone="postgresql postgresql-init">
245 <primary sortas="f-postgresql">postgresql</primary>
246 </indexterm>
247
248<screen role="root"><userinput>make install-postgresql</userinput></screen>
249
250 </sect3>
251
252 </sect2>
253
254 <sect2 role="content">
255 <title>Contents</title>
256
257 <segmentedlist>
258 <segtitle>Installed Programs</segtitle>
259 <segtitle>Installed Libraries</segtitle>
260 <segtitle>Installed Directories</segtitle>
261
262 <seglistitem>
263 <seg>clusterdb, createdb, createlang, createuser, dropdb, droplang,
264 dropuser, ecpg, initdb, pg_basebackup, pg_config, pg_controldata, pg_ctl,
265 pg_dump, pg_dumpall, pg_isready, pg_receivexlog, pg_resetxlog, pg_restore, pltcl_delmod,
266 pltcl_listmod, pltcl_loadmod, postgres, postmaster, psql,
267 reindexdb, vacuumdb, and optionally (in contrib/) oid2name, pg_archivecleanup,
268 pgbench, pg_standby, pg_test_fsync, pg_test_timing, pg_upgrade, pg_xlogdump,
269 vacuumlo,</seg>
270 <seg>libecpg.{so,a}, libecpg_compat.{so,a}, libpgport.a, libpgtypes.{so,a},
271 libpq.{so,a}, various charset modules, and optionally programming language
272 modules.</seg>
273 <seg>/srv/pgsql, /usr/include/libpq, /usr/include/postgresql,
274 /usr/lib/postgresql, /usr/share/doc/postgresql-&postgresql-version;, and
275 /usr/share/postgresql</seg>
276 </seglistitem>
277 </segmentedlist>
278
279 <variablelist>
280 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
281 <?dbfo list-presentation="list"?>
282 <?dbhtml list-presentation="table"?>
283
284 <varlistentry id="clusterdb">
285 <term><command>clusterdb</command></term>
286 <listitem>
287 <para>is a utility for reclustering tables in a
288 <application>PostgreSQL</application> database.</para>
289 <indexterm zone="postgresql clusterdb">
290 <primary sortas="b-clusterdb">clusterdb</primary>
291 </indexterm>
292 </listitem>
293 </varlistentry>
294
295 <varlistentry id="createdb">
296 <term><command>createdb</command></term>
297 <listitem>
298 <para> creates a new <application>PostgreSQL</application>
299 database.</para>
300 <indexterm zone="postgresql createdb">
301 <primary sortas="b-createdb">createdb</primary>
302 </indexterm>
303 </listitem>
304 </varlistentry>
305
306 <varlistentry id="createlang">
307 <term><command>createlang</command></term>
308 <listitem>
309 <para>defines a new <application>PostgreSQL</application> procedural
310 language.</para>
311 <indexterm zone="postgresql createlang">
312 <primary sortas="b-createlang">createlang</primary>
313 </indexterm>
314 </listitem>
315 </varlistentry>
316
317 <varlistentry id="createuser">
318 <term><command>createuser</command></term>
319 <listitem>
320 <para>defines a new <application>PostgreSQL</application>
321 user account.</para>
322 <indexterm zone="postgresql createuser">
323 <primary sortas="b-createuser">createuser</primary>
324 </indexterm>
325 </listitem>
326 </varlistentry>
327
328 <varlistentry id="dropdb">
329 <term><command>dropdb</command></term>
330 <listitem>
331 <para>removes a <application>PostgreSQL</application> database.</para>
332 <indexterm zone="postgresql dropdb">
333 <primary sortas="b-dropdb">dropdb</primary>
334 </indexterm>
335 </listitem>
336 </varlistentry>
337
338 <varlistentry id="droplang">
339 <term><command>droplang</command></term>
340 <listitem>
341 <para>removes a <application>PostgreSQL</application> procedural
342 language.</para>
343 <indexterm zone="postgresql droplang">
344 <primary sortas="b-droplang">droplang</primary>
345 </indexterm>
346 </listitem>
347 </varlistentry>
348
349 <varlistentry id="dropuser">
350 <term><command>dropuser</command></term>
351 <listitem>
352 <para>removes a <application>PostgreSQL</application>
353 user account.</para>
354 <indexterm zone="postgresql dropuser">
355 <primary sortas="b-dropuser">dropuser</primary>
356 </indexterm>
357 </listitem>
358 </varlistentry>
359
360 <varlistentry id="ecpg">
361 <term><command>ecpg</command></term>
362 <listitem>
363 <para>is the embedded SQL preprocessor.</para>
364 <indexterm zone="postgresql ecpg">
365 <primary sortas="b-ecpg">ecpg</primary>
366 </indexterm>
367 </listitem>
368 </varlistentry>
369
370 <varlistentry id="initdb">
371 <term><command>initdb</command></term>
372 <listitem>
373 <para>creates a new database cluster.</para>
374 <indexterm zone="postgresql initdb">
375 <primary sortas="b-initdb">initdb</primary>
376 </indexterm>
377 </listitem>
378 </varlistentry>
379
380 <varlistentry id="oid2name">
381 <term><command>oid2name</command></term>
382 <listitem>
383 <para>resolves OIDs (Object IDs) and file nodes in a PostgreSQL data
384 directory.</para>
385 <indexterm zone="postgresql oid2name">
386 <primary sortas="b-oid2name">oid2name</primary>
387 </indexterm>
388 </listitem>
389 </varlistentry>
390
391 <varlistentry id="pg_archivecleanup">
392 <term><command>pg_archivecleanup</command></term>
393 <listitem>
394 <para>clean up PostgreSQL WAL (write-ahead log) archive files.</para>
395 <indexterm zone="postgresql pg_archivecleanup">
396 <primary sortas="b-pg_archivecleanup">pg_archivecleanup</primary>
397 </indexterm>
398 </listitem>
399 </varlistentry>
400
401 <varlistentry id="pg_basebackup">
402 <term><command>pg_basebackup</command></term>
403 <listitem>
404 <para>takes base backups of a running
405 <application>PostgreSQL</application> cluster.</para>
406 <indexterm zone="postgresql pg_basebackup">
407 <primary sortas="b-pg_basebackup">pg_basebackup</primary>
408 </indexterm>
409 </listitem>
410 </varlistentry>
411
412 <varlistentry id="pg_config">
413 <term><command>pg_config</command></term>
414 <listitem>
415 <para>retrieves <application>PostgreSQL</application> version
416 information.</para>
417 <indexterm zone="postgresql pg_config">
418 <primary sortas="b-pg_config">pg_config</primary>
419 </indexterm>
420 </listitem>
421 </varlistentry>
422
423 <varlistentry id="pg_controldata">
424 <term><command>pg_controldata</command></term>
425 <listitem>
426 <para>returns information initialized during
427 <command>initdb</command>, such as the catalog version and server
428 locale.</para>
429 <indexterm zone="postgresql pg_controldata">
430 <primary sortas="b-pg_controldata">pg_controldata</primary>
431 </indexterm>
432 </listitem>
433 </varlistentry>
434
435 <varlistentry id="pg_ctl">
436 <term><command>pg_ctl</command></term>
437 <listitem>
438 <para>controls stopping and starting the database server.</para>
439 <indexterm zone="postgresql pg_ctl">
440 <primary sortas="b-pg_ctl">pg_ctl</primary>
441 </indexterm>
442 </listitem>
443 </varlistentry>
444
445 <varlistentry id="pg_dump">
446 <term><command>pg_dump</command></term>
447 <listitem>
448 <para>dumps database data and metadata into scripts which are used
449 to recreate the database.</para>
450 <indexterm zone="postgresql pg_dump">
451 <primary sortas="b-pg_dump">pg_dump</primary>
452 </indexterm>
453 </listitem>
454 </varlistentry>
455
456 <varlistentry id="pg_dumpall">
457 <term><command>pg_dumpall</command></term>
458 <listitem>
459 <para>recursively calls <command>pg_dump</command> for each
460 database in a cluster.</para>
461 <indexterm zone="postgresql pg_dumpall">
462 <primary sortas="b-pg_dumpall">pg_dumpall</primary>
463 </indexterm>
464 </listitem>
465 </varlistentry>
466
467 <varlistentry id="pg_isready">
468 <term><command>pg_isready</command></term>
469 <listitem>
470 <para>check the connection status of a PostgreSQL server.</para>
471 <indexterm zone="postgresql pg_isready">
472 <primary sortas="b-pg_isready">pg_isready</primary>
473 </indexterm>
474 </listitem>
475 </varlistentry>
476
477 <varlistentry id="pg_resetxlog">
478 <term><command>pg_resetxlog</command></term>
479 <listitem>
480 <para>clears the write-ahead log and optionally resets some
481 fields in the <filename>pg_control</filename> file.</para>
482 <indexterm zone="postgresql pg_resetxlog">
483 <primary sortas="b-pg_resetxlog">pg_resetxlog</primary>
484 </indexterm>
485 </listitem>
486 </varlistentry>
487
488 <varlistentry id="pg_restore">
489 <term><command>pg_restore</command></term>
490 <listitem>
491 <para>creates databases from dump files created by
492 <command>pg_dump</command>.</para>
493 <indexterm zone="postgresql pg_restore">
494 <primary sortas="b-pg_restore">pg_restore</primary>
495 </indexterm>
496 </listitem>
497 </varlistentry>
498
499 <varlistentry id="pg_standby">
500 <term><command>pg_standby</command></term>
501 <listitem>
502 <para>supports the creation of a PostgreSQL warm standby
503 server.</para>
504 <indexterm zone="postgresql pg_standby">
505 <primary sortas="b-pg_standby">pg_standby</primary>
506 </indexterm>
507 </listitem>
508 </varlistentry>
509
510 <varlistentry id="pg_test_fsync">
511 <term><command>pg_test_fsync</command></term>
512 <listitem>
513 <para>determine fastest wal_sync method for PostgreSQL.</para>
514 <indexterm zone="postgresql pg_test_fsync">
515 <primary sortas="b-pg_test_fsync">pg_test_fsync</primary>
516 </indexterm>
517 </listitem>
518 </varlistentry>
519
520 <varlistentry id="pg_test_timing">
521 <term><command>pg_test_timing</command></term>
522 <listitem>
523 <para>measure timing overhead.</para>
524 <indexterm zone="postgresql pg_test_timing">
525 <primary sortas="b-pg_test_timing">pg_test_timing</primary>
526 </indexterm>
527 </listitem>
528 </varlistentry>
529
530 <varlistentry id="pg_upgrade">
531 <term><command>pg_upgrade</command></term>
532 <listitem>
533 <para>upgrade a PostgreSQL server instance.</para>
534 <indexterm zone="postgresql pg_upgrade">
535 <primary sortas="b-pg_upgrade">pg_upgrade</primary>
536 </indexterm>
537 </listitem>
538 </varlistentry>
539
540 <varlistentry id="pg_xlogdump">
541 <term><command>pg_xlogdump</command></term>
542 <listitem>
543 <para>display a human-readable rendering of the write-ahead log of a
544 PostgreSQL database cluster.</para>
545 <indexterm zone="postgresql pg_xlogdump">
546 <primary sortas="b-pg_xlogdump">pg_xlogdump</primary>
547 </indexterm>
548 </listitem>
549 </varlistentry>
550
551 <varlistentry id="pgbench">
552 <term><command>pgbench</command></term>
553 <listitem>
554 <para>run a benchmark test on PostgreSQL.</para>
555 <indexterm zone="postgresql pgbench">
556 <primary sortas="b-pgbench">pgbench</primary>
557 </indexterm>
558 </listitem>
559 </varlistentry>
560
561 <varlistentry id="pltcl_delmod">
562 <term><command>pltcl_delmod</command></term>
563 <listitem>
564 <para>is a support script used to delete a module from a
565 PL/<application>Tcl</application> table. The command
566 requires the <ulink
567 url="http://gborg.postgresql.org/project/pgtcl/">Pgtcl</ulink>
568 package to be installed also.</para>
569 <indexterm zone="postgresql pltcl_delmod">
570 <primary sortas="b-pltcl_delmod">pltcl_delmod</primary>
571 </indexterm>
572 </listitem>
573 </varlistentry>
574
575 <varlistentry id="pltcl_listmod">
576 <term><command>pltcl_listmod</command></term>
577 <listitem>
578 <para>is a support script used to list the modules in a
579 PL/<application>Tcl</application> table. The command
580 requires the <ulink
581 url="http://gborg.postgresql.org/project/pgtcl/">Pgtcl</ulink>
582 package to be installed also.</para>
583 <indexterm zone="postgresql pltcl_listmod">
584 <primary sortas="b-pltcl_listmod">pltcl_listmod</primary>
585 </indexterm>
586 </listitem>
587 </varlistentry>
588
589 <varlistentry id="pltcl_loadmod">
590 <term><command>pltcl_loadmod</command></term>
591 <listitem>
592 <para>is a support script used to load a module into a
593 PL/<application>Tcl</application> table. The command
594 requires the <ulink
595 url="http://gborg.postgresql.org/project/pgtcl/">Pgtcl</ulink>
596 package to be installed also.</para>
597 <indexterm zone="postgresql pltcl_loadmod">
598 <primary sortas="b-pltcl_loadmod">pltcl_loadmod</primary>
599 </indexterm>
600 </listitem>
601 </varlistentry>
602
603 <varlistentry id="postgres">
604 <term><command>postgres</command></term>
605 <listitem>
606 <para>is a single user database server, generally used for
607 debugging.</para>
608 <indexterm zone="postgresql postgres">
609 <primary sortas="b-postgres">postgres</primary>
610 </indexterm>
611 </listitem>
612 </varlistentry>
613
614 <varlistentry id="postmaster">
615 <term><command>postmaster</command></term>
616 <listitem>
617 <para>(a symlink to <command>postgres</command>) is a multi-user
618 database daemon.</para>
619 <indexterm zone="postgresql postmaster">
620 <primary sortas="b-postmaster">postmaster</primary>
621 </indexterm>
622 </listitem>
623 </varlistentry>
624
625 <varlistentry id="psql">
626 <term><command>psql</command></term>
627 <listitem>
628 <para>is a console based database shell.</para>
629 <indexterm zone="postgresql psql">
630 <primary sortas="b-psql">psql</primary>
631 </indexterm>
632 </listitem>
633 </varlistentry>
634
635 <varlistentry id="reindexdb">
636 <term><command>reindexdb</command></term>
637 <listitem>
638 <para>is a utility for rebuilding indexes in a database.</para>
639 <indexterm zone="postgresql reindexdb">
640 <primary sortas="b-reindexdb">reindexdb</primary>
641 </indexterm>
642 </listitem>
643 </varlistentry>
644
645 <varlistentry id="vacuumdb">
646 <term><command>vacuumdb</command></term>
647 <listitem>
648 <para>compacts databases and generates statistics for the query
649 analyzer.</para>
650 <indexterm zone="postgresql vacuumdb">
651 <primary sortas="b-vacuumdb">vacuumdb</primary>
652 </indexterm>
653 </listitem>
654 </varlistentry>
655
656 <varlistentry id="vacuumlo">
657 <term><command>vacuumlo</command></term>
658 <listitem>
659 <para>remove orphaned large objects from a PostgreSQL database.</para>
660 <indexterm zone="postgresql vacuumlo">
661 <primary sortas="b-vacuumlo">vacuumlo</primary>
662 </indexterm>
663 </listitem>
664 </varlistentry>
665
666 <varlistentry id="libecpg">
667 <term><filename class='libraryfile'>libecpg.{so,a}</filename></term>
668 <listitem>
669 <para>contains functions to support embedded SQL in C programs.</para>
670 <indexterm zone="postgresql libecpg">
671 <primary sortas="c-libecpg">libecpg.{so,a}</primary>
672 </indexterm>
673 </listitem>
674 </varlistentry>
675
676 <varlistentry id="libecpg_compat">
677 <term><filename class='libraryfile'>libecpg_compat.{so,a}</filename></term>
678 <listitem>
679 <para>is the ecpg compatibility library.</para>
680 <indexterm zone="postgresql libecpg_compat">
681 <primary sortas="c-libecpg_compat">libecpg_compat.{so,a}</primary>
682 </indexterm>
683 </listitem>
684 </varlistentry>
685
686 <varlistentry id="libgport">
687 <term><filename class='libraryfile'>libgport.a</filename></term>
688 <listitem>
689 <para>is the port-specific subsystem of the Postgres backend.</para>
690 <indexterm zone="postgresql libgport">
691 <primary sortas="c-libgport">libgport.a</primary>
692 </indexterm>
693 </listitem>
694 </varlistentry>
695
696 <varlistentry id="libpgtypes">
697 <term><filename class='libraryfile'>libpgtypes.{so,a}</filename></term>
698 <listitem>
699 <para>contains functions for dealing with Postgres data types.</para>
700 <indexterm zone="postgresql libpgtypes">
701 <primary sortas="c-libpgtypes">libpgtypes.{so,a}</primary>
702 </indexterm>
703 </listitem>
704 </varlistentry>
705
706 <varlistentry id="libpq">
707 <term><filename class='libraryfile'>libpq.{so,a}</filename></term>
708 <listitem>
709 <para>is the C programmer's API to Postgres.</para>
710 <indexterm zone="postgresql libpq">
711 <primary sortas="c-libpq">libpq.{so,a}</primary>
712 </indexterm>
713 </listitem>
714 </varlistentry>
715
716 </variablelist>
717
718 </sect2>
719
720</sect1>
Note: See TracBrowser for help on using the repository browser.