mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Minor fixes in markup.
This commit is contained in:
@ -1,5 +1,5 @@
|
|||||||
<Chapter Id="libpq">
|
<Chapter Id="libpq-chapter">
|
||||||
<Title><FileName>libpq</FileName></Title>
|
<Title id="libpq"><FileName>libpq</FileName></Title>
|
||||||
|
|
||||||
<Para>
|
<Para>
|
||||||
|
|
||||||
@ -1614,7 +1614,6 @@ main()
|
|||||||
exit_nicely(conn);
|
exit_nicely(conn);
|
||||||
}
|
}
|
||||||
PQclear(res);
|
PQclear(res);
|
||||||
|
|
||||||
res = PQexec(conn, "FETCH ALL in mycursor");
|
res = PQexec(conn, "FETCH ALL in mycursor");
|
||||||
if (PQresultStatus(res) != PGRES_TUPLES_OK)
|
if (PQresultStatus(res) != PGRES_TUPLES_OK)
|
||||||
{
|
{
|
||||||
@ -1636,7 +1635,6 @@ main()
|
|||||||
printf("%-15s", PQgetvalue(res, i, j));
|
printf("%-15s", PQgetvalue(res, i, j));
|
||||||
printf("\n");
|
printf("\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
PQclear(res);
|
PQclear(res);
|
||||||
|
|
||||||
/* close the cursor */
|
/* close the cursor */
|
||||||
|
@ -215,8 +215,8 @@ createdb: database creation failed on mydb.
|
|||||||
<ItemizedList Mark="bullet" Spacing="compact">
|
<ItemizedList Mark="bullet" Spacing="compact">
|
||||||
<ListItem>
|
<ListItem>
|
||||||
<Para>
|
<Para>
|
||||||
running the <ProductName>Postgres</ProductName> terminal monitor programs (e.g.
|
running the <ProductName>Postgres</ProductName> terminal monitor programs
|
||||||
<Application>psql</Application>) which allows you to interactively
|
(e.g. <Application>psql</Application>) which allows you to interactively
|
||||||
enter, edit, and execute <Acronym>SQL</Acronym> commands.
|
enter, edit, and execute <Acronym>SQL</Acronym> commands.
|
||||||
</Para>
|
</Para>
|
||||||
</ListItem>
|
</ListItem>
|
||||||
@ -226,12 +226,13 @@ running the <ProductName>Postgres</ProductName> terminal monitor programs (e
|
|||||||
library. This allows you to submit <Acronym>SQL</Acronym> commands
|
library. This allows you to submit <Acronym>SQL</Acronym> commands
|
||||||
from <Acronym>C</Acronym> and get answers and status messages back to
|
from <Acronym>C</Acronym> and get answers and status messages back to
|
||||||
your program. This interface is discussed further
|
your program. This interface is discussed further
|
||||||
in <XRef LinkEnd="PROGRAMMERS-GUIDE">.
|
in <xref linkend="libpq" endterm="libpq">.
|
||||||
</Para>
|
</Para>
|
||||||
</ListItem>
|
</ListItem>
|
||||||
</ItemizedList>
|
</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>
|
It can be activated for the <Database>mydb</Database>
|
||||||
database by typing the command:
|
database by typing the command:
|
||||||
<ProgramListing>
|
<ProgramListing>
|
||||||
|
Reference in New Issue
Block a user