<?xml version="1.0" ?>
<!DOCTYPE refentry>
<refentry xmlns="http://docbook.org/ns/docbook"
          version="4.5">
  <refnamediv>
    <refname>LOAD</refname>
    <refpurpose>load an extension</refpurpose>
  </refnamediv>

  <refsynopsisdiv>
    <synopsis>LOAD <replaceable>extension</replaceable>
FROM <replaceable>path</replaceable></synopsis>
  </refsynopsisdiv>

  <refsect1>
    <title>Description</title>

    <para>
      <command>LOAD</command> loads an extension.
    </para>
  </refsect1>

  <refsect1>
    <title>Options</title>

    <variablelist>
      <varlistentry>
        <term><replaceable>extension</replaceable></term>
        <listitem>
          <para>
            The name of the extension to load. This name will be expected in
            commands such as <command>FOLDL</command>. It is an error to attempt
            to load an extension with the same name as an already-loaded
            extension.
          </para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term><replaceable>path</replaceable></term>
        <listitem>
          <para>
            The path to the shared object that implements the extension on the
            server filesystem.
          </para>
        </listitem>
      </varlistentry>
    </variablelist>
  </refsect1>

  <refsect1>
    <title>Response</title>

    <para>
      <command>LOAD</command> returns an empty response upon success.
    </para>
  </refsect1>
</refentry>
