source: server/databases/postgresql.xml@ 83dd3169

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 83dd3169 was 83dd3169, checked in by Igor Živković <igor@…>, 11 years ago

update to postgresql-9.3.1

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