Re: error when compiling a c function

From: Eric Ridge <eebbrr(at)gmail(dot)com>
To: Sebastian Jaenicke <sjaenick(at)cebitec(dot)uni-bielefeld(dot)de>
Cc: Ioana Danes <ioanasoftware(at)yahoo(dot)ca>, PostgreSQL General <pgsql-general(at)postgresql(dot)org>
Subject: Re: error when compiling a c function
Date: 2011-07-27 21:01:07
Message-ID: CANcm6waFhAHVh-G86_b4bpdC=VXfcA3_sCeEG5mze4uf7wdO7w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Jul 27, 2011 at 2:12 PM, Sebastian Jaenicke
<sjaenick(at)cebitec(dot)uni-bielefeld(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Peter V 2011-07-27 21:03:43 Re: WITH x AS (...) and visibility in UPDATE
Previous Message Merlin Moncure 2011-07-27 20:58:04 Re: WITH x AS (...) and visibility in UPDATE