Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 5f27ac6

Browse files
committed
Minor documentation improvements and markup fixes.
1 parent 71a5da4 commit 5f27ac6

File tree

9 files changed

+184
-163
lines changed

9 files changed

+184
-163
lines changed

doc/src/sgml/dfunc.sgml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -208,8 +208,8 @@ If the file you specify is
208208
very simple, since the commands to do it are just:
209209
<ProgramListing>
210210
# simple HP-UX example
211-
&percnt; cc +z +u -c foo.c
212-
&percnt; ld -b -o foo.sl foo.o
211+
% cc +z +u -c foo.c
212+
% ld -b -o foo.sl foo.o
213213
</ProgramListing>
214214
</Para>
215215

@@ -221,21 +221,21 @@ If the file you specify is
221221
Under SunOS 4.x, the commands look like:
222222
<ProgramListing>
223223
# simple SunOS 4.x example
224-
&percnt; cc -PIC -c foo.c
225-
&percnt; ld -dc -dp -Bdynamic -o foo.so foo.o
224+
% cc -PIC -c foo.c
225+
% ld -dc -dp -Bdynamic -o foo.so foo.o
226226
</ProgramListing>
227227

228228
and the equivalent lines under Solaris 2.x are:
229229
<ProgramListing>
230230
# simple Solaris 2.x example
231-
&percnt; cc -K PIC -c foo.c
232-
&percnt; ld -G -Bdynamic -o foo.so foo.o
231+
% cc -K PIC -c foo.c
232+
% ld -G -Bdynamic -o foo.so foo.o
233233
</ProgramListing>
234234
or
235235
<ProgramListing>
236236
# simple Solaris 2.x example
237-
&percnt; gcc -fPIC -c foo.c
238-
&percnt; ld -G -Bdynamic -o foo.so foo.o
237+
% gcc -fPIC -c foo.c
238+
% ld -G -Bdynamic -o foo.so foo.o
239239
</ProgramListing>
240240
</Para>
241241

doc/src/sgml/libpgtcl.sgml

Lines changed: 28 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ This package was originally written by Jolly Chen.
4747
</ROW>
4848
<ROW>
4949
<ENTRY>pg_select</ENTRY>
50-
<ENTRY>loop over the result of a select statement</ENTRY>
50+
<ENTRY>loop over the result of a SELECT statement</ENTRY>
5151
</ROW>
5252
<ROW>
5353
<ENTRY>pg_listen</ENTRY>
@@ -76,7 +76,7 @@ This package was originally written by Jolly Chen.
7676
</ROW>
7777
<ROW>
7878
<ENTRY>pg_lo_lseek</ENTRY>
79-
<ENTRY>seek to a position on a large object</ENTRY>
79+
<ENTRY>seek to a position in a large object</ENTRY>
8080
</ROW>
8181
<ROW>
8282
<ENTRY>pg_lo_tell</ENTRY>
@@ -168,14 +168,33 @@ proc getDBs { {host "localhost"} {port "5432"} } {
168168
pg_connect -conninfo <REPLACEABLE CLASS="PARAMETER">connectOptions</REPLACEABLE>
169169
pg_connect <REPLACEABLE CLASS="PARAMETER">dbName</REPLACEABLE> <OPTIONAL>-host <REPLACEABLE CLASS="PARAMETER">hostName</REPLACEABLE></OPTIONAL>
170170
<OPTIONAL>-port <REPLACEABLE
171-
CLASS="PARAMETER">portNumber</REPLACEABLE></OPTIONAL> <OPTIONAL>-tty
172-
<REPLACEABLE CLASS="PARAMETER">pqtty</REPLACEABLE></OPTIONAL>
171+
CLASS="PARAMETER">portNumber</REPLACEABLE></OPTIONAL> <OPTIONAL>-tty <REPLACEABLE
172+
CLASS="PARAMETER">pqtty</REPLACEABLE></OPTIONAL>
173173
<OPTIONAL>-options <REPLACEABLE
174174
CLASS="PARAMETER">optionalBackendArgs</REPLACEABLE></OPTIONAL>
175175
</SYNOPSIS>
176176

177177
<REFSECT2 ID="R2-PGTCL-PGCONNECT-1">
178178
<REFSECT2INFO>
179+
<DATE>1998-10-07</DATE>
180+
</REFSECT2INFO>
181+
<TITLE>Inputs (new style)
182+
</TITLE>
183+
<VARIABLELIST>
184+
<VARLISTENTRY>
185+
<TERM>
186+
<REPLACEABLE CLASS="PARAMETER">connectOptions</REPLACEABLE>
187+
</TERM>
188+
<LISTITEM>
189+
<PARA>A string of connection options, each written in the form keyword = value.
190+
</PARA>
191+
</LISTITEM>
192+
</VARLISTENTRY>
193+
</VARIABLELIST>
194+
</REFSECT2>
195+
196+
<REFSECT2 ID="R2-PGTCL-PGCONNECT-2">
197+
<REFSECT2INFO>
179198
<DATE>1997-12-24</DATE>
180199
</REFSECT2INFO>
181200
<TITLE>Inputs (old style)
@@ -213,7 +232,7 @@ pg_connect <REPLACEABLE CLASS="PARAMETER">dbName</REPLACEABLE> <OPTIONAL>-host <
213232
<OPTIONAL>-tty <REPLACEABLE CLASS="PARAMETER">pqtty</REPLACEABLE></OPTIONAL>
214233
</TERM>
215234
<LISTITEM>
216-
<PARA>(need information thomas 1997-12-24)
235+
<PARA>Specifies file or tty for optional debug output from backend.
217236
</PARA>
218237
</LISTITEM>
219238
</VARLISTENTRY>
@@ -229,25 +248,6 @@ pg_connect <REPLACEABLE CLASS="PARAMETER">dbName</REPLACEABLE> <OPTIONAL>-host <
229248
</VARIABLELIST>
230249
</REFSECT2>
231250

232-
<REFSECT2 ID="R2-PGTCL-PGCONNECT-2">
233-
<REFSECT2INFO>
234-
<DATE>1998-10-07</DATE>
235-
</REFSECT2INFO>
236-
<TITLE>Inputs (new style)
237-
</TITLE>
238-
<VARIABLELIST>
239-
<VARLISTENTRY>
240-
<TERM>
241-
<REPLACEABLE CLASS="PARAMETER">connectOptions</REPLACEABLE>
242-
</TERM>
243-
<LISTITEM>
244-
<PARA>A string of connection options, each written in the form keyword = value.
245-
</PARA>
246-
</LISTITEM>
247-
</VARLISTENTRY>
248-
</VARIABLELIST>
249-
</REFSECT2>
250-
251251
<REFSECT2 ID="R2-PGTCL-PGCONNECT-3">
252252
<REFSECT2INFO>
253253
<DATE>1997-12-24</DATE>
@@ -423,7 +423,8 @@ Each entry in the list is a sublist of the format:
423423
<para>
424424
{optname label dispchar dispsize value}
425425
<Para>
426-
where the optname is usable as an option in pg_connect -conninfo.
426+
where the optname is usable as an option in
427+
<FUNCTION>pg_connect -conninfo</FUNCTION>.
427428
</PARA>
428429
</LISTITEM>
429430
</VARLISTENTRY>
@@ -785,7 +786,7 @@ created too many query result objects.
785786
<REFNAME>pg_select
786787
</REFNAME>
787788
<REFPURPOSE>
788-
loop over the result of a select statement
789+
loop over the result of a SELECT statement
789790
</REFPURPOSE>
790791
<INDEXTERM ID="IX-PGTCL-PGSELECT-1"><PRIMARY>pgtcl</PRIMARY><SECONDARY>connecting</SECONDARY></INDEXTERM>
791792
<INDEXTERM ID="IX-PGTCL-PGSELECT-2"><PRIMARY>pg_connect</PRIMARY></INDEXTERM>
@@ -1500,7 +1501,7 @@ the actual string to write, not a variable name.
15001501
<REFNAMEDIV>
15011502
<REFNAME>pg_lo_lseek
15021503
</REFNAME>
1503-
<REFPURPOSE>seek to a position on a large object
1504+
<REFPURPOSE>seek to a position in a large object
15041505
</REFPURPOSE>
15051506
<INDEXTERM ID="IX-PGTCL-PGLOLSEEK-1"><PRIMARY>pgtcl</PRIMARY><SECONDARY>positioning</SECONDARY></INDEXTERM>
15061507
<INDEXTERM ID="IX-PGTCL-PGLOLSEEK-2"><PRIMARY>pg_lo_lseek</PRIMARY></INDEXTERM>

0 commit comments

Comments
 (0)