From: | 土卜皿 <pengcz(dot)nwpu(at)gmail(dot)com> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Subject: | how many changes about backend mode from 7.2.2 to 8.4.0? |
Date: | 2014-07-11 01:50:15 |
Message-ID: | CADT5_1_k-AL1spf2am5sX-Fv70U_xswObGgs7smeiTM=xcRAsg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
hi, all
NOTE: fedora 17 x86_64, 7.2.2 can not be compiled in the env, I choose
8.4.0 because I think old version is easier to understand than newer
version!
I want to study pg's external sort (in tuplesort.c )through 8.4.0's source
code, and use ddd to do it, according to usingddd-postgres
<http://www-inst.eecs.berkeley.edu/~cs186/fa04/usingddd.pdf> 's description:
In the backend mode, you don’t create a separate postmaster process and
don’t use psql at all. Instead, you start up postgres from the
command line and directly interact with it.
and after starting postgres in ddd, a backend interactive interface works
as doc's Figure 5, and I found version 7.2.2's source postgres'c has
backend interactive interface, but my version is 8.4.0, which seemly has
not backend interactive interface, so I want to ask
(1) whether I must use another method to debug relative external sort code
(in tuplesort.c ), as some post said that I can execute "psql, select select
pg_backend_pid(), and gdb pid" , any advice will be appreciated!
BEST REGARDS
Dillon Peng
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2014-07-11 02:10:35 | Re: how many changes about backend mode from 7.2.2 to 8.4.0? |
Previous Message | Tom Lane | 2014-07-11 01:11:18 | Re: Allowing NOT IN to use ANTI joins |