I'm buliding my own C application on CentOS 5 and postgresql 9.2.
What I'm trying to do is to access shared memory area with shmat function and get the details of pg_stat_activity. I'm not going to use database connection but Direct Memory Access thing.
I've installed gdb and postgresql with source compilation though, I don't know which point I can start with.
Any advice would be appreciated, thanks in advance.