Re: [HACKERS] how to debug into InitPostgres() and InitCatalogCache()?

2014-08-05 Thread Alvaro Herrera
土卜皿 wrote: > 2014-08-05 22:08 GMT+08:00 土卜皿 : > > > 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()

Re: [HACKERS] how to debug into InitPostgres() and InitCatalogCache()?

2014-08-05 Thread 土卜皿
2014-08-05 22:08 GMT+08:00 土卜皿 : > 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(), a

[HACKERS] how to debug into InitPostgres() and InitCatalogCache()?

2014-08-05 Thread 土卜皿
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: [refer: How