Skip to content

Commit 0808cb1

Browse files
committed
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.
1 parent ee48d27 commit 0808cb1

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

doc/src/sgml/libpq.sgml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.313.2.7 2010/08/17 04:37:17 petere Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.313.2.8 2010/08/29 15:19:12 tgl Exp $ -->
22

33
<chapter id="libpq">
44
<title><application>libpq</application> - C Library</title>
@@ -1873,9 +1873,7 @@ PGresult *PQprepare(PGconn *conn,
18731873

18741874
Prepared statements for use with <function>PQexecPrepared</> can also
18751875
be created by executing SQL <xref linkend="sql-prepare">
1876-
statements. (But <function>PQprepare</>
1877-
is more flexible since it does not require parameter types to be
1878-
pre-specified.) Also, although there is no <application>libpq</>
1876+
statements. Also, although there is no <application>libpq</>
18791877
function for deleting a prepared statement, the SQL <xref
18801878
linkend="sql-deallocate"> statement
18811879
can be used for that purpose.

0 commit comments

Comments
 (0)