Skip to content
Snippets Groups Projects
Commit 5e0ea522 authored by Thomas G. Lockhart's avatar Thomas G. Lockhart
Browse files

Minor fixes in markup.

parent 8cf41db2
No related branches found
No related tags found
No related merge requests found
<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 */
......
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment