"Murali M. Krishna" <[email protected]> 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

-- 
Sent via pgsql-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to