Re: Fwd: lots of errors from fmgr.h when I try to write a C UDF

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Anh Pham <atpham(dot)wpi(at)gmail(dot)com>
Cc: Ian Lawrence Barwick <barwick(at)gmail(dot)com>, PG-General Mailing List <pgsql-general(at)postgresql(dot)org>
Subject: Re: Fwd: lots of errors from fmgr.h when I try to write a C UDF
Date: 2014-02-01 11:52:29
Message-ID: CAB7nPqT=sb_nCi9aePWLYFgh4sdWVFnmHhNM01zXzTqumEAc5A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-novice

On Sat, Feb 1, 2014 at 1:34 PM, Anh Pham <atpham(dot)wpi(at)gmail(dot)com> 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Michael Paquier 2014-02-01 12:22:36 Re: Postgresql multidimensional arrays cast fail
Previous Message Luca Ferrari 2014-02-01 09:45:48 Re: manual and autovacuum

Browse pgsql-novice by date

  From Date Subject
Next Message csmtcy 2014-02-04 17:48:06 Re: Couldn't get the database from heroku
Previous Message Tom Lane 2014-02-01 05:49:40 Re: lots of errors from fmgr.h when I try to write a C UDF