Re: Why can't I use pgxs to build a plpgsql plugin? - Mailing list pgsql-hackers

From Pavel Stehule
Subject Re: Why can't I use pgxs to build a plpgsql plugin?
Date
Msg-id CAFj8pRC5JhDtcpGfxJq1mxOjY-8rgPubtHP4t16NAhRpU9CQOQ@mail.gmail.com
Whole thread Raw
In response to Re: Why can't I use pgxs to build a plpgsql plugin?  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Responses Re: Why can't I use pgxs to build a plpgsql plugin?
List pgsql-hackers
2012/4/16 Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>:
> On 13.04.2012 19:17, Guillaume Lelarge wrote:
>>
>> On Thu, 2012-04-12 at 12:28 +0300, Heikki Linnakangas wrote:
>>>
>>> On 08.04.2012 11:59, Guillaume Lelarge wrote:
>>>>
>>>> There could be a good reason which would explain why we can't (or don't
>>>> want to) do this, but I don't see it right now.
>>>
>>>
>>> Me neither, except a general desire to keep internals hidden. I propose
>>> the attached.
>>
>>
>> Sounds good to me. I would love to see this happening in 9.2.
>
>
> Ok, committed. I fixed the .PHONY line as Tom pointed out, and changed MSVC
> install.pm to also copy the header file.
>

Hello,

it doesn't work for modules from contrib directory

pavel ~/src/postgresql/contrib/check_plpgsql $ make
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith
-Wdeclaration-after-statement -Wendif-labels
-Wmissing-format-attribute -Wformat-security -fno-strict-aliasing
-fwrapv -fexcess-precision=standard -g -fpic -I. -I.
-I../../src/include -D_GNU_SOURCE   -c -o check_plpgsql.o
check_plpgsql.c
check_plpgsql.c:16:21: fatal error: plpgsql.h: No such file or directory
compilation terminated.


Regards

Pavel

>
> --
>  Heikki Linnakangas
>  EnterpriseDB   http://www.enterprisedb.com
>
> --
> Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-hackers


pgsql-hackers by date:

Previous
From: Michael Meskes
Date:
Subject: Re: ECPG FETCH readahead
Next
From: "Etsuro Fujita"
Date:
Subject: Re: not null validation option in contrib/file_fdw