 title="ALTER TABLE"><span class="refentrytitle">ALTER TABLE</span></a> to learn more about the
    <code class="command">ATTACH PARTITION</code> and <code class="command">DETACH PARTITION</code>
    sub-commands.
   </p><p>
    Partitions can also be <a class="link" href="ddl-foreign-data.html" title="5.12. Foreign Data">foreign
    tables</a>, although considerable care is needed because it is then
    the user's responsibility that the contents of the foreign table
    satisfy the partitioning rule.  Th