"Murali M. Krishna" 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
: to...@tuxteam.de
Subject: Re: [HACKERS] debugger question
To: "Murali M. Krishna"
Cc: pgsql-hackers@postgresql.org
Date: Monday, April 12, 2010, 9:28 PM
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Mon, Apr 12, 2010 at 08:31:38PM -0700, Murali M. Krishna wrote:
> Hello:
>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Mon, Apr 12, 2010 at 08:31:38PM -0700, Murali M. Krishna wrote:
> Hello:
>
> I am brand new to Postgresql.
>
> I ran the following commands.
> ./configure
> gmake
> su
> gmake install
> adduser postgres
> mkdir /usr/local/pgsql/data
> chown postgr
Hello:
I am brand new to Postgresql.
I ran the following commands.
./configure
gmake
su
gmake install
adduser postgres
mkdir /usr/local/pgsql/data
chown postgres /usr/local/pgsql/data
su - postgres
/usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data
/usr/local/pgsql/bin/postmaster -D /usr/local/