Skip site navigation (1) Skip section navigation (2)

Re: About debug two versions of postgresql in eclipse

From: Nicolas Barbier <nicolas(dot)barbier(at)gmail(dot)com>
To: Pei He <hepeimail(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: About debug two versions of postgresql in eclipse
Date: 2010-08-24 18:38:44
Message-ID: AANLkTi=L5zZ14RCkJzoRuFUJ=S_rFHYesraAZLwm_kUP@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-hackers
2010/8/24 Pei He <hepeimail(at)gmail(dot)com>:

> I want to run two different versions of postgresql-8.2.5 under eclipse.
>
> But, it requires me to change PGDATA and LD_LIBRARY_PATH to switch.
>
> Moreover, to let eclipse know the changes, I need to modify .profile
> under my home folder, and log out and log in. (I am using Ubuntu.)
>
> Is there a way that I can debug two versions of postgresql without
> closing eclipse?

In the each run configuration, in the "Environment" tab, add those
environment variables, and given them values that correspond to the PG
version that corresponds to that run configuration.

Nicolas

In response to

Responses

pgsql-hackers by date

Next:From: Pei HeDate: 2010-08-24 19:02:33
Subject: Re: About debug two versions of postgresql in eclipse
Previous:From: Tom LaneDate: 2010-08-24 18:31:01
Subject: Re: EXPLAIN doesn't show the actual function expression for FunctionScan

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group