<!--
doc/src/sgml/ref/pcp_attach_node.sgml
Pgpool-II documentation
-->

<refentry id="PCP-ATTACH-NODE">
 <indexterm zone="pcp-attach-node">
  <primary>pcp_attach_node</primary>
 </indexterm>

 <refmeta>
  <refentrytitle>pcp_attach_node</refentrytitle>
  <manvolnum>1</manvolnum>
  <refmiscinfo>PCP Command</refmiscinfo>
 </refmeta>

 <refnamediv>
  <refname>pcp_attach_node</refname>
  <refpurpose>
   attaches the given node to Pgpool-II.</refpurpose>
 </refnamediv>

 <refsynopsisdiv>
  <cmdsynopsis>
   <command>pcp_attach_node</command>
   <arg rep="repeat"><replaceable>options</replaceable></arg>
   <arg><replaceable>node_id</replaceable></arg>
  </cmdsynopsis>
 </refsynopsisdiv>

 <refsect1 id="R1-PCP-ATTACH-NODE-1">
  <title>Description</title>
  <para>
   <command>pcp_attach_node</command>
   attaches the given node to Pgpool-II.
  </para>
 </refsect1>

 <refsect1>
  <title>Options</title>
  <para>
   <variablelist>

    <varlistentry>
     <term><option>-n <replaceable class="parameter">node_id</replaceable></option></term>
     <term><option>--node_id=<replaceable class="parameter">node_id</replaceable></option></term>
     <listitem>
      <para>
       The index of backend node to attach.
      </para>
     </listitem>
    </varlistentry>

    <varlistentry>
     <term><option>Other options </option></term>
     <listitem>
      <para>
       See <xref linkend="pcp-common-options">.
      </para>
     </listitem>
    </varlistentry>

   </variablelist>
  </para>
 </refsect1>

</refentry>
