On Sat, Feb 1, 2014 at 1:34 PM, Anh Pham <atpham.wpi@xxxxxxxxx> wrote: > Hi, > I actually included 'postgres.h' > > However I found out that when I stopped the server, the code then compiled > successfully. Code compilation and a server status are not related as compilation of Postgres-related modules require the libraries and headers in place to compile. You could have those things installed with a server, multiple servers or even nothing running. Regards, -- Michael -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general