[HACKERS] “Core” function in Postgres

2014-09-23 Thread Mingzhe Li
Hi experts,

I want to know what's the core function used in Postgres server? I am
looking for something corresponding to main() in a simple C program. I want
to know the file path and the function name. I am using Postgres 9.3.5,
however I assume the core function will be unchanged between different
revisions.

Please let me know if you are confused by my question.

Thanks

Zack

PS: I have the same post on stackoverflow. Since no one answered there, I
just report here.


[HACKERS] New to PostGre SQL asking about write-ahead-log (WAL)

2014-09-16 Thread Mingzhe Li
Hi,

I am new to PostGre SQL and want to ask some questions. In my database
class, we plan to work on a class project based on WAL. Since we are not
familiar with WAL, we don't know what's a good start point. Could anyone
point me to any documentation mentioning about WAL in PostGre SQL? It will
be very helpful if anyone could point me to the file which includes the
core of WAL implementation. Any advice along this line is very welcome.

Thanks,
Mingzhe