source: server/databases/postgresql.xml@ 85ec85ef

gnome
Last change on this file since 85ec85ef was c463c87, checked in by Christopher Gregory <cjg@…>, 10 years ago

Removed excess white space and updated systemd instructions on svnserver autofs bluez fcron sysstat nfs-utils ntp rsync samba wpa_supplicant
avahi mariadb postgresql exim postfix apache bind proftpd vsftpd openldap unbound xinetd and clutter pages

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/gnome@13434 af4574ff-66df-0310-9fd7-8a98e5e911e0

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