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

Commit 5e0ea52

Browse files
author
Thomas G. Lockhart
committed
Minor fixes in markup.
1 parent 8cf41db commit 5e0ea52

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

doc/src/sgml/libpq.sgml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
<Chapter Id="libpq">
2-
<Title><FileName>libpq</FileName></Title>
1+
<Chapter Id="libpq-chapter">
2+
<Title id="libpq"><FileName>libpq</FileName></Title>
33

44
<Para>
55

@@ -1614,7 +1614,6 @@ main()
16141614
exit_nicely(conn);
16151615
}
16161616
PQclear(res);
1617-
16181617
res = PQexec(conn, "FETCH ALL in mycursor");
16191618
if (PQresultStatus(res) != PGRES_TUPLES_OK)
16201619
{
@@ -1636,7 +1635,6 @@ main()
16361635
printf("%-15s", PQgetvalue(res, i, j));
16371636
printf("\n");
16381637
}
1639-
16401638
PQclear(res);
16411639

16421640
/* close the cursor */

doc/src/sgml/start.sgml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,8 @@ createdb: database creation failed on mydb.
215215
<ItemizedList Mark="bullet" Spacing="compact">
216216
<ListItem>
217217
<Para>
218-
running the <ProductName>Postgres</ProductName> terminal monitor programs (e.g.
219-
<Application>psql</Application>) which allows you to interactively
218+
running the <ProductName>Postgres</ProductName> terminal monitor programs
219+
(e.g. <Application>psql</Application>) which allows you to interactively
220220
enter, edit, and execute <Acronym>SQL</Acronym> commands.
221221
</Para>
222222
</ListItem>
@@ -226,12 +226,13 @@ running the <ProductName>Postgres</ProductName> terminal monitor programs (e
226226
library. This allows you to submit <Acronym>SQL</Acronym> commands
227227
from <Acronym>C</Acronym> and get answers and status messages back to
228228
your program. This interface is discussed further
229-
in <XRef LinkEnd="PROGRAMMERS-GUIDE">.
229+
in <xref linkend="libpq" endterm="libpq">.
230230
</Para>
231231
</ListItem>
232232
</ItemizedList>
233233

234-
You might want to start up <Application>psql</Application>, to try out the examples in this manual.
234+
You might want to start up <Application>psql</Application>,
235+
to try out the examples in this manual.
235236
It can be activated for the <Database>mydb</Database>
236237
database by typing the command:
237238
<ProgramListing>

0 commit comments

Comments
 (0)