Re: C-functions using SPI Missing Magic Block Error

From: Saitenheini(at)web(dot)de
To: Joe Conway <mail(at)joeconway(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-general(at)postgresql(dot)org
Subject: Re: C-functions using SPI Missing Magic Block Error
Date: 2010-07-02 15:52:08
Message-ID: 1730345714.1357940.1278085928762.JavaMail.fmail@mwmweb050
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I'll try b) and hope I can find a solution.
Thanks for your support Joe.

Kind Regards, Max.

>On 07/02/2010 08:36 AM, Saitenheini(at)web(dot)de wrote:
>> Thanks, I've already tried that. I doesn't make any difference. Still the same error.
>>
>> in Visual C++ I can't even compile it, although I set all links and compiler directories like it was told in this post:
>> http://www.postgresql.org/docs/8.2/interactive/xfunc-c.html
>>
>> I don't have more ideas.
>> What could I do?
>
>Building extensions on Windows is a royal pain (at least for me it is).
>I would suggest either:
>
>a) switch to Linux (I know, probably not a helpful suggestion)
>
> -or-
>
>b) possibly try adding your function to an existing contrib, e.g.
> tablefunc, and see if you can compile that
>
>The build infrastructure on Windows with VC++ is difficult to work with.
>In order to get PL/R to compile with VC++ I had to hack the provided
>perl build scripts. That could be a third option for you, but (b) is
>probably far easier for you.
>
>Joe
>
>
___________________________________________________________
WEB.DE DSL ab 19,99 Euro/Monat. Bis zu 150,- Euro Startguthaben und
50,- Euro Geldprämie inklusive! https://freundschaftswerbung.web.de

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tim 2010-07-02 16:22:45 ERROR: canceling statement due to statement timeout
Previous Message Joe Conway 2010-07-02 15:46:13 Re: C-functions using SPI Missing Magic Block Error