mirror of
https://github.com/postgres/postgres.git
synced 2025-06-27 23:21:58 +03:00
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.
This commit is contained in:
@ -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">
|
<chapter id="libpq">
|
||||||
<title><application>libpq</application> - C Library</title>
|
<title><application>libpq</application> - C Library</title>
|
||||||
@ -1706,9 +1706,8 @@ PGresult *PQprepare(PGconn *conn,
|
|||||||
|
|
||||||
Prepared statements for use with <function>PQexecPrepared</> can also
|
Prepared statements for use with <function>PQexecPrepared</> can also
|
||||||
be created by executing SQL <xref linkend="sql-prepare"
|
be created by executing SQL <xref linkend="sql-prepare"
|
||||||
endterm="sql-prepare-title"> statements. (But <function>PQprepare</>
|
endterm="sql-prepare-title"> statements.
|
||||||
is more flexible since it does not require parameter types to be
|
Also, although there is no <application>libpq</>
|
||||||
pre-specified.) Also, although there is no <application>libpq</>
|
|
||||||
function for deleting a prepared statement, the SQL <xref
|
function for deleting a prepared statement, the SQL <xref
|
||||||
linkend="sql-deallocate" endterm="sql-deallocate-title"> statement
|
linkend="sql-deallocate" endterm="sql-deallocate-title"> statement
|
||||||
can be used for that purpose.
|
can be used for that purpose.
|
||||||
|
Reference in New Issue
Block a user