Re: error when compiling a c function - Mailing list pgsql-general

From Eric Ridge
Subject Re: error when compiling a c function
Date
Msg-id CANcm6waFhAHVh-G86_b4bpdC=VXfcA3_sCeEG5mze4uf7wdO7w@mail.gmail.com
Whole thread Raw
In response to Re: error when compiling a c function  (Sebastian Jaenicke <sjaenick@CeBiTec.Uni-Bielefeld.DE>)
List pgsql-general
On Wed, Jul 27, 2011 at 2:12 PM, Sebastian Jaenicke
<sjaenick@cebitec.uni-bielefeld.de> wrote:
> On Wed, Jul 27, 2011 at 09:34:20AM -0700, Ioana Danes wrote:
>
>> #ifdef PG_MODULE_MAGIC
>
> #ifndef

Just to avoid confusion...  #ifdef *is* correct.  See:

    http://www.postgresql.org/docs/current/static/xfunc-c.html

(I can't comment on the OP's actual problem)

eric

pgsql-general by date:

Previous
From: Merlin Moncure
Date:
Subject: Re: WITH x AS (...) and visibility in UPDATE
Next
From: Peter V
Date:
Subject: Re: WITH x AS (...) and visibility in UPDATE