.
      </p></dd><dt id="LIBPQ-PQPUTCOPYEND"><span class="term"><code class="function">PQputCopyEnd</code><a id="id-1.7.3.17.8.3.2.1.2" class="indexterm"></a></span> <a href="#LIBPQ-PQPUTCOPYEND" class="id_link">#</a></dt><dd><p>
       Sends end-of-data indication to the server during <code class="literal">COPY_IN</code> state.
</p><pre class="synopsis">
int PQputCopyEnd(PGconn *conn,
                 const char *errormsg);
</pre><p>
      </p><p>
       Ends the <code class="literal">COPY_IN</code> operat