Re: attaching a process in eclipse

From: Ravi Kiran <ravi(dot)kolanpaka(at)gmail(dot)com>
To: Craig Ringer <craig(at)2ndquadrant(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: attaching a process in eclipse
Date: 2014-12-28 14:18:44
Message-ID: CAOh57xHQz-=8qZgQG1N7d5J532ug6VzkWobDjkA=D2uAyaF-mg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)2ndquadrant(dot)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
>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Craig Ringer 2014-12-28 14:21:15 Re: attaching a process in eclipse
Previous Message Craig Ringer 2014-12-28 14:06:11 Re: attaching a process in eclipse