Minor fixes in markup.

This commit is contained in:
Thomas G. Lockhart 1998-10-21 05:33:41 +00:00
parent 8cf41db299
commit 5e0ea5225f
2 changed files with 7 additions and 8 deletions

View file

@ -1,5 +1,5 @@
<Chapter Id="libpq">
<Title><FileName>libpq</FileName></Title>
<Chapter Id="libpq-chapter">
<Title id="libpq"><FileName>libpq</FileName></Title>
<Para>
@ -1614,7 +1614,6 @@ main()
exit_nicely(conn);
}
PQclear(res);
res = PQexec(conn, "FETCH ALL in mycursor");
if (PQresultStatus(res) != PGRES_TUPLES_OK)
{
@ -1636,7 +1635,6 @@ main()
printf("%-15s", PQgetvalue(res, i, j));
printf("\n");
}
PQclear(res);
/* close the cursor */

View file

@ -215,8 +215,8 @@ createdb: database creation failed on mydb.
<ItemizedList Mark="bullet" Spacing="compact">
<ListItem>
<Para>
running the <ProductName>Postgres</ProductName> terminal monitor programs (e.g.
<Application>psql</Application>) which allows you to interactively
running the <ProductName>Postgres</ProductName> terminal monitor programs
(e.g. <Application>psql</Application>) which allows you to interactively
enter, edit, and execute <Acronym>SQL</Acronym> commands.
</Para>
</ListItem>
@ -226,12 +226,13 @@ running the <ProductName>Postgres</ProductName> terminal monitor programs (e
library. This allows you to submit <Acronym>SQL</Acronym> commands
from <Acronym>C</Acronym> and get answers and status messages back to
your program. This interface is discussed further
in <XRef LinkEnd="PROGRAMMERS-GUIDE">.
in <xref linkend="libpq" endterm="libpq">.
</Para>
</ListItem>
</ItemizedList>
You might want to start up <Application>psql</Application>, to try out the examples in this manual.
You might want to start up <Application>psql</Application>,
to try out the examples in this manual.
It can be activated for the <Database>mydb</Database>
database by typing the command:
<ProgramListing>