Skip to content

Commit 61abd9a

Browse files
author
Neil Conway
committed
Minor tweak to libpq documentation: make "PREPARE" and "DEALLOCATE" xrefs.
1 parent 78ce809 commit 61abd9a

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

doc/src/sgml/libpq.sgml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.194 2005/10/17 16:24:18 tgl Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.195 2005/10/20 21:04:14 neilc Exp $
33
-->
44

55
<chapter id="libpq">
@@ -1254,12 +1254,14 @@ in a future release.
12541254
</varlistentry>
12551255
</variablelist>
12561256

1257-
Prepared statements for use with <function>PQexecPrepared</> can also be
1258-
created by executing SQL <command>PREPARE</> statements. (But
1259-
<function>PQprepare</> is more flexible since it does not require
1260-
parameter types to be pre-specified.) Also, although there is no
1261-
<application>libpq</> function for deleting a prepared statement,
1262-
the SQL <command>DEALLOCATE</> statement can be used for that purpose.
1257+
Prepared statements for use with <function>PQexecPrepared</> can also
1258+
be created by executing SQL <xref linkend="sql-prepare"
1259+
endterm="sql-prepare-title"> statements. (But <function>PQprepare</>
1260+
is more flexible since it does not require parameter types to be
1261+
pre-specified.) Also, although there is no <application>libpq</>
1262+
function for deleting a prepared statement, the SQL <xref
1263+
linkend="sql-deallocate" endterm="sql-deallocate-title"> statement can
1264+
be used for that purpose.
12631265
</para>
12641266

12651267
<para>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy