From: | r d <rd0002(at)gmail(dot)com> |
---|---|
To: | "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Request for help setting up source tree |
Date: | 2012-11-20 16:37:12 |
Message-ID: | CALtFtELcBbeF-Zcfg-=m52N-vj0EwXVgeC9cAmPSxgk13-ufoA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
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 <rd0002(at)gmail(dot)com> 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
>
From | Date | Subject | |
---|---|---|---|
Next Message | Jeff Janes | 2012-11-20 16:50:48 | Re: High SYS CPU - need advise |
Previous Message | Shaun Thomas | 2012-11-20 16:21:45 | Re: High SYS CPU - need advise |