how to debug into InitPostgres() and InitCatalogCache()?
От | 土卜皿 |
---|---|
Тема | how to debug into InitPostgres() and InitCatalogCache()? |
Дата | |
Msg-id | CADT5_1-Mbo9+QurdvsbXDMn=5dxWqULunqa+HW7wsruZm-iUng@mail.gmail.com обсуждение исходный текст |
Ответы |
Re: how to debug into InitPostgres() and InitCatalogCache()?
|
Список | pgsql-hackers |
hi, all
I already can debug general postgres using "ddd" and "select pg_backend_pid();" , now, I want to study the details of the system catalog cache and system cache management, so I need to debug the function InitPostgres() and InitCatalogCache(), and I tried the following steps: ddd initdb
ps aux | grep "bin\/postgres"
and set a breakpoint as InitCatalogCache()
(3) back to the first ddd window, hit the "cont" button. I hope it can stop at the second ddd's breakpoint, but nothing happened?
I must make mistake in some step, or my understanding is fully wrong, please give me some advice, thanks a lot!
Dillon
В списке pgsql-hackers по дате отправления: