Ok, that was a stupid question to ask, what comes from falling in panic and
suspending thinking before talking :-(
Solution in case anybody else panics:
a) install the *postgresql-devel* package from yum
b) add the include directory *'/usr/include/pgsql/server'* in your IDE. In
Netbeans 7.3b2 that would be in
Tools -> Options -> C/C++ -> Code Assistance -> C Compiler
and suddenly everything works ...
So then :-)
On 20 November 2012 15:51, r d <[email protected]> wrote:
> Hi,
>
> I want to make an extension but don't understand the source setup well.
> a) Do I need the full source of postgres locally?
> b) Where must the source be? The project dir is ~/nbprojects/my_pg_ext
> and I am using the code of the fuzzystrmatch contrib as my "template"
> from where to start
> c) My installation of postgres is 9.1.6 and I don't intend to upgrade
> for now. Can I use an extension compiled against 9.2.x code in my
> 9.1.6 installation?
>
> I am using the Netbeans IDE but also understand Eclipse.
>
> Thanks for any help/info.
>
> RD
>