Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>It looks like in Ubuntu that header is part of the <a href="http://packages.ubuntu.com/natty/i386/libpq-dev/filelist" rel="noreferrer"><code>libpq-dev</code> package</a> (at least in the following Ubuntu versions: <a href="http://en.wikipedia.org/wiki/List_of_Ubuntu_releases#Ubuntu_11.04_.28Natty_Narwhal.29" rel="noreferrer">11.04</a> (Natty Narwhal), <a href="https://en.wikipedia.org/wiki/List_of_Ubuntu_releases#Ubuntu_10.04_LTS_.28Lucid_Lynx.29" rel="noreferrer">10.04</a> (Lucid Lynx), <a href="http://en.wikipedia.org/wiki/List_of_Ubuntu_releases#Ubuntu_11.10_.28Oneiric_Ocelot.29" rel="noreferrer">11.10</a> (Oneiric Ocelot), <a href="http://en.wikipedia.org/wiki/List_of_Ubuntu_releases#Ubuntu_12.04_LTS_.28Precise_Pangolin.29" rel="noreferrer">12.04</a> (Precise Pangolin), <a href="https://en.wikipedia.org/wiki/List_of_Ubuntu_releases#Ubuntu_14.04_LTS_.28Trusty_Tahr.29" rel="noreferrer">14.04</a> (Trusty Tahr) and <a href="https://en.wikipedia.org/wiki/Ubuntu_version_history#Ubuntu_18.04_LTS_(Bionic_Beaver)" rel="noreferrer">18.04</a> (Bionic Beaver)):</p> <pre><code>... /usr/include/postgresql/libpq-fe.h ... </code></pre> <p>So try installing <code>libpq-dev</code> or its equivalent for your OS:</p> <ul> <li>For Ubuntu systems: <code>sudo apt-get install libpq-dev</code></li> <li>On <a href="http://en.wikipedia.org/wiki/Red_Hat_Linux" rel="noreferrer">Red Hat Linux</a> (RHEL) systems: <code>yum install postgresql-devel</code></li> <li>For Mac <a href="https://en.wikipedia.org/wiki/Homebrew_%28package_management_software%29" rel="noreferrer">Homebrew</a>: <code>brew install postgresql</code></li> <li>For Mac <a href="http://en.wikipedia.org/wiki/MacPorts" rel="noreferrer">MacPorts</a> PostgreSQL: <code>gem install pg -- --with-pg-config=/opt/local/lib/postgresql[version number]/bin/pg_config</code></li> <li>For <a href="https://en.wikipedia.org/wiki/OpenSUSE" rel="noreferrer">OpenSuse</a>: <code>zypper in postgresql-devel</code></li> <li>For <a href="https://en.wikipedia.org/wiki/Arch_Linux" rel="noreferrer">ArchLinux</a>: <code>pacman -S postgresql-libs</code></li> </ul>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload