Re: attaching a process in eclipse - Mailing list pgsql-hackers

From Ravi Kiran
Subject Re: attaching a process in eclipse
Date
Msg-id CAOh57xHQz-=8qZgQG1N7d5J532ug6VzkWobDjkA=D2uAyaF-mg@mail.gmail.com
Whole thread Raw
In response to Re: attaching a process in eclipse  (Craig Ringer <craig@2ndquadrant.com>)
Responses Re: attaching a process in eclipse  (Craig Ringer <craig@2ndquadrant.com>)
List pgsql-hackers
Sir, I followed the instructions in the link which you gave , but this time I am getting the following error.

Can't find a source file at "/build/buildd/eglibc-2.19/socket/../sysdeps/unix/sysv/linux/x86_64/recv.c" 
Locate the file or edit the source lookup path to include its location.

is the error something related my OS or is it related to postgres. 


Thank you for telling the mistake, I will follow the things which you told from the next time.

Thank you

On Sun, Dec 28, 2014 at 7:36 PM, Craig Ringer <craig@2ndquadrant.com> wrote:
On 12/28/2014 07:49 PM, Ravi Kiran wrote:
> Thank you for the response sir, I am running both the eclipse and the
> client under the same user name which is ravi, I have installed postgres
> source code under the user ravi not postgres,

It doesn't matter how you installed it. How you *run* it matters. If the
postgresql processes run as user 'ravi' and so does Eclipse, then your
problem is the one in the article I already sent you a link to, and you
should follow those instructions.

> should I change it and
> work under postgres

No. If you read my explanation you would understand that this would just
make it worse, because you can't attach to a process under a different
user id.

> and for that to happen should I uninstall the whole
> postgres and re install under the new user postgres.

That won't help.

By the way, it looks like you also posted this to Stack Overflow:

http://stackoverflow.com/q/27676836/398670

It's OK to do that, but *please mention you posted somewhere else too*
or preferably link to the relevant article in the mailing list archives.

Also, when replying to mail on a list, please reply-to-all.

--
 Craig Ringer                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services

pgsql-hackers by date:

Previous
From: Craig Ringer
Date:
Subject: Re: attaching a process in eclipse
Next
From: Craig Ringer
Date:
Subject: Re: attaching a process in eclipse