Re: debugger question

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Murali M(dot) Krishna" <murali1729(at)yahoo(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: debugger question
Date: 2010-04-13 07:09:01
Message-ID: 27731.1271142541@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Murali M. Krishna" <murali1729(at)yahoo(dot)com> writes:
> I would like to start using gdb.
> ...
> , but this is what I get.

> gdb) attach 1731
> Attaching to program: /usr/local/pgsql/bin/postgres, process 1731
> ptrace: Operation not permitted.

Try running gdb as the postgres user, ie, su to postgres first.
If that doesn't work, see if it works after disabling selinux
(and if so, file a bug, because selinux shouldn't prevent it).

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Koichi Suzuki 2010-04-13 11:18:28 How to generate specific WAL records?
Previous Message Tom Lane 2010-04-13 06:15:25 Re: Naming of new EXCLUDE constraints