GN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="LIBPQ-BUILD"
>31.20. Building <SPAN
CLASS="APPLICATION"
>libpq</SPAN
> Programs</A
></H1
><P
>   To build (i.e., compile and link) a program using
   <SPAN
CLASS="APPLICATION"
>libpq</SPAN
> you need to do all of the following
   things:

   <P
></P
></P><UL
><LI
><P
>      Include the <TT
CLASS="FILENAME"
>libpq-fe.h</TT
> header file:
</P><PRE
CLASS="PROGRAMLISTING"
>#include &lt;libpq-fe.h&gt;</PRE
><P>
      If you failed to d