[DBD::Pg] Fix pg_switch_prepared database handle documentation

dbdpg-commits-gENoVmVU/[email protected] Wed, 11 Feb 2015 13:44:44 +0000
Newsgroups gmane.comp.db.postgresql.dbdpg.cvs
Message-ID <[email protected]>
Committed by =3D?UTF-8?q?Dagfinn=3D20Ilmari=3D20Manns=3DC3=3DA5ker?=3D <i=
[email protected]>

Fix pg_switch_prepared database handle documentation

The documentation for database handle attribute disagreed with the one
for the statement handle attribute, which was the correct one.
---
 Changes | 3 +++
 Pg.pm   | 4 ++--
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/Changes b/Changes
index 79b3781..efa28e9 100644
--- a/Changes
+++ b/Changes
@@ -21,6 +21,9 @@ Version 3.5.1
   - Documentation fix
     [Stuart A Johnston]
=20
+  - Fix pg_switch_prepared database handle documentation
+    [Dagfinn Ilmari Manns=C3=A5ker]
+
 Version 3.5.0  Released January 6, 2015 (git commit bb13d3306fd1c73fac1c=
0c8a330c14e6b8443942)
=20
   - Allow "placeholder escaping" by the use of a backslash directly befo=
re it, e.g.
diff --git a/Pg.pm b/Pg.pm
index 710b803..0ba899d 100644
--- a/Pg.pm
+++ b/Pg.pm
@@ -3117,8 +3117,8 @@ PQexecParams to PQexecPrepared. In other words, whe=
n it will start using server-
 prepared statements (assuming all other requirements for them are met). =
The default value,=20
 2, means that a prepared statement will be prepared and used the second =
and subsequent=20
 time execute is called. To always use PQexecPrepared instead of PQexecPa=
rams, set=20
-pg_switch_prepared to 1. Setting it to 0 will force DBD::Pg to use PQexe=
cPrepared always -=20
-this was the default behavior in versions older than 3.0.0.
+pg_switch_prepared to 1 (this was the default behavior in earlier versio=
ns).=20
+Setting pg_switch_prepared to 0 will force DBD::Pg to always use PQexecP=
arams.
=20
 =3Dhead3 B<pg_placeholder_dollaronly> (boolean)
=20
--=20
1.8.4