ataching a process in eclipse

Поиск
Список
Период
Сортировка
От Ravi Kiran
Тема ataching a process in eclipse
Дата
Msg-id CAOh57xEiT=nTVmDBos5wZef5FM0hLR+s_tFMW-Ef37F2-qyChA@mail.gmail.com
обсуждение исходный текст
Ответы Re: ataching a process in eclipse  (Michael Wood <esiotrot@gmail.com>)
Список pgsql-novice
hi,

I am working with postgresql 9.4.0 source using eclipse(indigo version) in ubuntu 14.04. I am facing a problem of attaching a client process to postgresql server.


In the debug configuration , I have given the following information in the fields.

C/C++ Application :- src/backend/postgres
Project :- postgresql-9.4.0

I have found out the process id of the client process using "select pg_backend_pid()"  and used it to attach the server.

But I am getting the following error whenever I do this

"Could not attach to process.  If your uid matches the uid of the target
process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try
again as the root user.  For more details, see /etc/sysctl.d/10-ptrace.conf"

how do we rectify this error?

Thank you

Regards
K.Ravikiran

В списке pgsql-novice по дате отправления:

Предыдущее
От: Daniel Staal
Дата:
Сообщение: Re: How do concurrent inserts work?
Следующее
От: Michael Wood
Дата:
Сообщение: Re: ataching a process in eclipse