[HACKERS] How to get permission to debug postgres?

2010-06-07 Thread Randy Solomonson
I have a system that uses C methods as functions in a Postgres database. When I try to run gdb with my user account I get this: ptrace: Operation not permitted It looks like a permission thing. It seemed to work when I ran gdb as the postgres user. I would like to continue running postgres as the

Re: [HACKERS] How to get permission to debug postgres?

2010-06-07 Thread Robert Haas
On Sat, Jun 5, 2010 at 8:16 AM, Randy Solomonson ra...@solomonson.com wrote: I have a system that uses C methods as functions in a Postgres database. When I try to run gdb with my user account I get this: ptrace: Operation not permitted It looks like a permission thing. It seemed to work when