aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2010-08-29 15:19:19 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2010-08-29 15:19:19 +0000
commitd321ff10c17338a4edfdacf3b37e9409471deb4c (patch)
treef4ce1421844aef5dc552d11296a62af199de2515
parent27c6b589c0e3c19b19986f8528b5a7f4faf4351b (diff)
downloadpostgresql-d321ff10c17338a4edfdacf3b37e9409471deb4c.tar.gz
postgresql-d321ff10c17338a4edfdacf3b37e9409471deb4c.zip
Remove obsolete remark that PQprepare() is more flexible than PREPARE.
Spotted by Dmitriy Igrishin. Back-patch to 8.2, which is when the PREPARE statement was improved to allow parameter types to be omitted.
-rw-r--r--doc/src/sgml/libpq.sgml7
1 files changed, 3 insertions, 4 deletions
diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml
index 3f9311f30dd..c1ce6c30789 100644
--- a/doc/src/sgml/libpq.sgml
+++ b/doc/src/sgml/libpq.sgml
@@ -1,4 +1,4 @@
-<!-- $PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.289.2.6 2010/08/10 02:57:19 rhaas Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.289.2.7 2010/08/29 15:19:19 tgl Exp $ -->
<chapter id="libpq">
<title><application>libpq</application> - C Library</title>
@@ -1706,9 +1706,8 @@ PGresult *PQprepare(PGconn *conn,
Prepared statements for use with <function>PQexecPrepared</> can also
be created by executing SQL <xref linkend="sql-prepare"
- endterm="sql-prepare-title"> statements. (But <function>PQprepare</>
- is more flexible since it does not require parameter types to be
- pre-specified.) Also, although there is no <application>libpq</>
+ endterm="sql-prepare-title"> statements.
+ Also, although there is no <application>libpq</>
function for deleting a prepared statement, the SQL <xref
linkend="sql-deallocate" endterm="sql-deallocate-title"> statement
can be used for that purpose.