Re: [HACKERS] Why can't I use pgxs to build a plpgsql plugin?

2012-04-17 Thread Pavel Stehule
2012/4/17 Heikki Linnakangas : > On 17.04.2012 07:56, Pavel Stehule wrote: >> >> 2012/4/16 Heikki Linnakangas: >>> >>> 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

Re: [HACKERS] Why can't I use pgxs to build a plpgsql plugin?

2012-04-16 Thread Heikki Linnakangas
On 17.04.2012 07:56, Pavel Stehule wrote: 2012/4/16 Heikki Linnakangas: 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

Re: [HACKERS] Why can't I use pgxs to build a plpgsql plugin?

2012-04-16 Thread Pavel Stehule
2012/4/16 Heikki Linnakangas : > 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

Re: [HACKERS] Why can't I use pgxs to build a plpgsql plugin?

2012-04-16 Thread Guillaume Lelarge
On Mon, 2012-04-16 at 13:09 +0300, Heikki Linnakangas wrote: > 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 do

Re: [HACKERS] Why can't I use pgxs to build a plpgsql plugin?

2012-04-16 Thread Heikki Linnakangas
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

Re: [HACKERS] Why can't I use pgxs to build a plpgsql plugin?

2012-04-13 Thread Guillaume Lelarge
On Thu, 2012-04-12 at 12:28 +0300, Heikki Linnakangas wrote: > On 08.04.2012 11:59, Guillaume Lelarge wrote: > > Hi, > > > > I recently wrote a plpgsql plugin. I wanted to enable the use of pgxs, > > to make it easier to compile the plugin, but I eventually found that I > > can't do that because th

Re: [HACKERS] Why can't I use pgxs to build a plpgsql plugin?

2012-04-12 Thread Heikki Linnakangas
On 12.04.2012 16:59, Tom Lane wrote: Heikki Linnakangas writes: 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.

Re: [HACKERS] Why can't I use pgxs to build a plpgsql plugin?

2012-04-12 Thread Tom Lane
Heikki Linnakangas writes: > 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. Shou

Re: [HACKERS] Why can't I use pgxs to build a plpgsql plugin?

2012-04-12 Thread Heikki Linnakangas
On 08.04.2012 11:59, Guillaume Lelarge wrote: Hi, I recently wrote a plpgsql plugin. I wanted to enable the use of pgxs, to make it easier to compile the plugin, but I eventually found that I can't do that because the plpgsql.h file is not available in the include directory. I'm wondering if we

[HACKERS] Why can't I use pgxs to build a plpgsql plugin?

2012-04-08 Thread Guillaume Lelarge
Hi, I recently wrote a plpgsql plugin. I wanted to enable the use of pgxs, to make it easier to compile the plugin, but I eventually found that I can't do that because the plpgsql.h file is not available in the include directory. I'm wondering if we shouldn't put the header files of plpgsql sourc