diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2010-08-29 15:19:12 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2010-08-29 15:19:12 +0000 |
| commit | 0808cb109b3b5f270aa73ccfad8341d2da401976 (patch) | |
| tree | f3a5963ea98a93965abaff5a6191d4ded3b196d5 /doc/src | |
| parent | ee48d27e34f8c2c6a410b7265d8ac11dd8368e77 (diff) | |
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.
Diffstat (limited to 'doc/src')
| -rw-r--r-- | doc/src/sgml/libpq.sgml | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml index 7d03a01b344..78549982814 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.313.2.7 2010/08/17 04:37:17 petere Exp $ --> +<!-- $PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.313.2.8 2010/08/29 15:19:12 tgl Exp $ --> <chapter id="libpq"> <title><application>libpq</application> - C Library</title> @@ -1873,9 +1873,7 @@ PGresult *PQprepare(PGconn *conn, Prepared statements for use with <function>PQexecPrepared</> can also be created by executing SQL <xref linkend="sql-prepare"> - 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</> + statements. Also, although there is no <application>libpq</> function for deleting a prepared statement, the SQL <xref linkend="sql-deallocate"> statement can be used for that purpose. |
