From: Tom Lane Date: Sun, 29 Aug 2010 15:19:35 +0000 (+0000) Subject: Remove obsolete remark that PQprepare() is more flexible than PREPARE. X-Git-Tag: REL8_2_18~22 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e8254980dff098e171ca5a896dbac54977c88aef;p=thirdparty%2Fpostgresql.git 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. --- diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml index 9aa7961cf86..ea6865da98b 100644 --- a/doc/src/sgml/libpq.sgml +++ b/doc/src/sgml/libpq.sgml @@ -1,4 +1,4 @@ - + <application>libpq</application> - C Library @@ -1337,9 +1337,8 @@ about such errors. Prepared statements for use with PQexecPrepared can also be created by executing SQL statements. (But PQprepare -is more flexible since it does not require parameter types to be -pre-specified.) Also, although there is no libpq +endterm="sql-prepare-title"> statements. +Also, although there is no libpq function for deleting a prepared statement, the SQL statement can be used for that purpose.