From: | "Murali M(dot) Krishna" <murali1729(at)yahoo(dot)com> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Subject: | debugger question |
Date: | 2010-04-13 03:31:38 |
Message-ID: | 160265.40518.qm@web52804.mail.re2.yahoo.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
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/pgsql/data >logfile 2>&1 &
/usr/local/pgsql/bin/createdb test
/usr/local/pgsql/bin/psql test
I would like to start using gdb.
What is the simplest way of doing this? I read the instructions
on this page
http://sites.google.com/a/cs.berkeley.edu/cs186-fa09/home/assignments/assignment2/pggdb
, but this is what I get.
gdb) attach 1731
Attaching to program: /usr/local/pgsql/bin/postgres, process 1731
ptrace: Operation not permitted.
(gdb) break cost_seqscan
Breakpoint 1 at 0x81cdf97: file costsize.c, line 163.
(gdb) c
The program is not being run.
-----
Please help.
Thanks.
MMK.
-----------------------------------------------------------------
Please visit NumberFest.com for educational number puzzles & mind exercises for all ages! And please tell your friends about it. Thank You!
From | Date | Subject | |
---|---|---|---|
Next Message | tomas | 2010-04-13 04:28:04 | Re: debugger question |
Previous Message | Robert Haas | 2010-04-13 03:09:25 | Re: Naming of new EXCLUDE constraints |