source: server/databases/postgresql.xml@ a1f2d184

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.6 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind 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 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since a1f2d184 was b7ed441, checked in by Fernando de Oliveira <fernando@…>, 10 years ago

Gucharmap-3.12.1 and postgresql-9.3.5: typos.
libpcap-1.6.1 doesn't build with bluez-5.21: thanks Wayne B.

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

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