mirror of
https://github.com/php/doc-en.git
synced 2026-03-25 08:12:15 +01:00
Document PDO::PGSQL_ATTR_DISABLE_PREPARES attribute
Closes GH-1167.
This commit is contained in:
46
reference/pdo_pgsql/constants.xml
Normal file
46
reference/pdo_pgsql/constants.xml
Normal file
@@ -0,0 +1,46 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<section xml:id="pdo-pgsql.constants" xmlns="http://docbook.org/ns/docbook">
|
||||
&reftitle.constants;
|
||||
&pdo.driver-constants;
|
||||
<variablelist>
|
||||
|
||||
<varlistentry xml:id="pdo.constants.pgsql-attr-disable-prepares">
|
||||
<term>
|
||||
<constant>PDO::PGSQL_ATTR_DISABLE_PREPARES</constant>
|
||||
(<type>int</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Send the query and the parameters to the server together in a single
|
||||
call, avoiding the need to create a named prepared statement separately.
|
||||
If the query is only going to be executed once this can reduce latency by
|
||||
avoiding an unnecessary server round-trip.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
</variablelist>
|
||||
</section>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
</section>
|
||||
|
||||
&reference.pdo-pgsql.configure;
|
||||
&reference.pdo-pgsql.constants;
|
||||
|
||||
<section xml:id="pdo-pgsql.general-notes">
|
||||
<title>General notes</title>
|
||||
|
||||
Reference in New Issue
Block a user