<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="pdo.pgsqlgetnotify" xmlns="http://docbook.org/ns/docbook">
 <refnamediv>
  <refname>PDO::pgsqlGetNotify</refname>
  <refpurpose>Get asynchronous notification</refpurpose>
 </refnamediv>
 <refsect1 role="description">
  &reftitle.description;
  <methodsynopsis>
   <modifier>public</modifier> <type class="union"><type>array</type><type>false</type></type><methodname>PDO::pgsqlGetNotify</methodname>
   <methodparam choice="opt"><type>int</type><parameter>result_type</parameter><initializer><constant>PDO::FETCH_USE_DEFAULT</constant></initializer></methodparam>
   <methodparam choice="opt"><type>int</type><parameter>ms_timeout</parameter><initializer>0</initializer></methodparam>
  </methodsynopsis>
  <para>
   Returns a result set representing a pending asynchronous notification.
  </para>
 </refsect1>

 <refsect1 role="parameters">
  &reftitle.parameters;
  <para>
   <variablelist>
    <varlistentry>
     <term><parameter>result_type</parameter></term>
     <listitem>
      <para>
       The format the result set should be returned as, represented as a
       <link linkend="pdostatement.fetch"><constant>PDO::FETCH_*</constant></link>
       constant.
      </para>
     </listitem>
    </varlistentry>
    <varlistentry>
     <term><parameter>ms_timeout</parameter></term>
     <listitem>
      <para>
       The length of time to wait for a response, in milliseconds.
      </para>
     </listitem>
    </varlistentry>
   </variablelist>
  </para>
 </refsect1>

 <refsect1 role="returnvalues">
  &reftitle.returnvalues;
  <para>
   If one or more notifications is pending, returns a single row, with fields
   <literal>message</literal> and <literal>pid</literal>, otherwise returns
   &false;.
  </para>
 </refsect1>
</refentry>

<!-- 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
-->
