11<!--
2- $Header: /cvsroot/pgsql/doc/src/sgml/ref/Attic/pgaccess-ref.sgml,v 1.6 2000/12/25 23:15:26 petere Exp $
2+ $Header: /cvsroot/pgsql/doc/src/sgml/ref/Attic/pgaccess-ref.sgml,v 1.7 2000/12/30 17:11:32 petere Exp $
33Postgres documentation
44-->
55
66<refentry id="APP-PGACCESS">
7+ <docinfo>
8+ <date>2000-12-30</date>
9+ </docinfo>
10+
711 <refmeta>
8- <refentrytitle id="app-pgaccess-title">
9- <application>pgaccess</application>
10- </refentrytitle>
12+ <refentrytitle id="app-pgaccess-title"><application>pgaccess</application></refentrytitle>
1113 <manvolnum>1</manvolnum>
1214 <refmiscinfo>Application</refmiscinfo>
1315 </refmeta>
16+
1417 <refnamediv>
15- <refname>
16- <application>pgaccess</application>
17- </refname>
18- <refpurpose>
19- <productname>Postgres</productname> graphical interactive client
20- </refpurpose>
18+ <refname>pgaccess</refname>
19+ <refpurpose><productname>PostgreSQL</productname> graphical client</refpurpose>
2120 </refnamediv>
21+
2222 <refsynopsisdiv>
23- <refsynopsisdivinfo>
24- <date>1999-08-03</date>
25- </refsynopsisdivinfo>
26- <synopsis>
27- pgaccess [ <replaceable class="parameter">dbname</replaceable> ]
28- </synopsis>
29-
30- <refsect2 id="R2-APP-PGACCESS-1">
31- <title>
32- Inputs
33- </title>
34- <para>
35-
36- <variablelist>
37- <varlistentry>
38- <term><replaceable class="PARAMETER">dbname</replaceable></term>
39- <listitem>
40- <para>
23+ <cmdsynopsis>
24+ <command>pgaccess</command>
25+ <arg><replaceable>dbname</replaceable></arg>
26+ </cmdsynopsis>
27+
28+ <refsect2 id="app-pgaccess-options">
29+ <title>Options</title>
30+
31+ <variablelist>
32+ <varlistentry>
33+ <term><replaceable>dbname</replaceable></term>
34+ <listitem>
35+ <para>
4136The name of an existing database to access.
42- </para>
43- </listitem>
44- </varlistentry>
45- </variablelist>
46- </para>
37+ </para>
38+ </listitem>
39+ </varlistentry>
40+ </variablelist>
4741 </refsect2>
4842
49- <refsect2 id="R2-APP-PGACCESS-2">
50- <title>
51- Outputs
52- </title>
53- <para>
54- </para>
55- </refsect2>
5643 </refsynopsisdiv>
5744
5845 <refsect1 id="R1-APP-PGACCESS-1">
@@ -67,22 +54,14 @@ pgaccess [ <replaceable class="parameter">dbname</replaceable> ]
6754 functions.
6855 </para>
6956
70- <para>
71- Another way of accessing <productname>Postgres</productname>
72- through tcl is to use
73- <xref linkend="app-pgtclsh">
74- or
75- <xref linkend="app-pgtksh">.
76- </para>
77-
7857 <para>
7958 <application>pgaccess</application> can:
8059
8160 <itemizedlist mark="bullet" spacing="compact">
8261 <listitem>
8362 <para>
8463 Open any database on a specified host at the specified port,
85- username and password.
64+ username, and password.
8665 </para>
8766 </listitem>
8867
@@ -94,7 +73,7 @@ pgaccess [ <replaceable class="parameter">dbname</replaceable> ]
9473
9574 <listitem>
9675 <para>
97- Save preferences in <filename>~/.pgaccessrc</filename> file.
76+ Save preferences inthe <filename>~/.pgaccessrc</filename> file.
9877 </para>
9978 </listitem>
10079 </itemizedlist>
@@ -106,7 +85,7 @@ pgaccess [ <replaceable class="parameter">dbname</replaceable> ]
10685 <itemizedlist mark="bullet" spacing="compact">
10786 <listitem>
10887 <para>
109- Open multiple tables for viewing,max n records ( configurable) .
88+ Open multiple tables for viewing,with a configurable number of rows shown .
11089 </para>
11190 </listitem>
11291
@@ -136,13 +115,13 @@ pgaccess [ <replaceable class="parameter">dbname</replaceable> ]
136115
137116 <listitem>
138117 <para>
139- Import/export to external files (SDF, CSV).
118+ Import/export to external files (<acronym> SDF</acronym>, <acronym> CSV</acronym> ).
140119 </para>
141120 </listitem>
142121
143122 <listitem>
144123 <para>
145- Use filter capabilities; enterfilter likeprice> 3.14.
124+ Use filter capabilities; enterfilters like<literal>price > 3.14</literal> .
146125 </para>
147126 </listitem>
148127
@@ -160,13 +139,13 @@ pgaccess [ <replaceable class="parameter">dbname</replaceable> ]
160139
161140 <listitem>
162141 <para>
163- Delete records; point to the record, pressDel key.
142+ Delete records; point to the record, press<keycap>Delete</keycap> key.
164143 </para>
165144 </listitem>
166145
167146 <listitem>
168147 <para>
169- Add new records; save new row with right-button- click.
148+ Add new records; save new row with right-button click.
170149 </para>
171150 </listitem>
172151
@@ -196,7 +175,7 @@ pgaccess [ <replaceable class="parameter">dbname</replaceable> ]
196175 <itemizedlist mark="bullet" spacing="compact">
197176 <listitem>
198177 <para>
199- Define, edit and store <firstterm>user defined queries</firstterm>.
178+ Define, edit and store <firstterm>user- defined queries</firstterm>.
200179 </para>
201180 </listitem>
202181
@@ -214,10 +193,10 @@ pgaccess [ <replaceable class="parameter">dbname</replaceable> ]
214193
215194 <listitem>
216195 <para>
217- Execute with optional user input parameters; e.g.,
218- <programlisting>
196+ Execute with optional user input parameters, e.g.,
197+ <programlisting>
219198select * from invoices where year=[parameter "Year of selection"]
220- </programlisting>.
199+ </programlisting>
221200 </para>
222201 </listitem>
223202
@@ -236,7 +215,7 @@ select * from invoices where year=[parameter "Year of selection"]
236215 <listitem>
237216 <para>
238217 Construct queries using a visual query builder
239- with drag & drop support, table aliasing.
218+ with drag & drop support, table aliasing.
240219 </para>
241220 </listitem>
242221 </itemizedlist>
@@ -332,7 +311,7 @@ select * from invoices where year=[parameter "Year of selection"]
332311
333312 <listitem>
334313 <para>
335- Change font, size and style of fields and labels.
314+ Change font, size, and style of fields and labels.
336315 </para>
337316 </listitem>
338317
@@ -344,7 +323,7 @@ select * from invoices where year=[parameter "Year of selection"]
344323
345324 <listitem>
346325 <para>
347- Preview tables, samplepostscript print.
326+ Preview tables, sample<productname>Postscript</productname> print.
348327 </para>
349328 </listitem>
350329 </itemizedlist>
@@ -356,7 +335,7 @@ select * from invoices where year=[parameter "Year of selection"]
356335 <itemizedlist mark="bullet" spacing="compact">
357336 <listitem>
358337 <para>
359- Open user defined forms.
338+ Open user- defined forms.
360339 </para>
361340 </listitem>
362341
@@ -398,6 +377,42 @@ select * from invoices where year=[parameter "Year of selection"]
398377 </itemizedlist>
399378 </para>
400379 </refsect1>
380+
381+ <refsect1>
382+ <title>Diagnosistics</title>
383+
384+ <para>
385+ If you get output like this:
386+ <screen>
387+ <computeroutput>
388+ Error in startup script: couldn't load file "libpgtcl.so": libpgtcl.so: cannot open shared object file: No such file or directory
389+ while executing
390+ "load libpgtcl[info sharedlibextension]"
391+ (procedure "main" line 3)
392+ invoked from within
393+ "main $argc $argv"
394+ (file "/usr/local/pgsql/share/pgaccess/main.tcl" line 249)
395+ </computeroutput>
396+ </screen>
397+ then you need to configure your runtime linker to find the
398+ <filename>libpgtcl.so</filename> library, most likely by setting
399+ the <envar>LD_LIBRARY_PATH</envar> environment variable. Consult
400+ the <productname>PostgreSQL</productname> installation instructions
401+ for more information.
402+ </para>
403+ </refsect1>
404+
405+ <refsect1>
406+ <title>Notes</title>
407+
408+ <para>
409+ <application>pgaccess</application> is written in Tcl/Tk. Your
410+ <productname>PostgreSQL</productname> installation needs to be
411+ build with Tcl support for <application>pgaccess</application> to
412+ be available.
413+ </para>
414+ </refsect1>
415+
401416</refentry>
402417
403418<!-- Keep this comment at the end of the file