The patch is attached for the following TODO item:
*Allow server logs to be remotely read.
1. When the server starts (**pg_ctl start)**, the path of the postmaster file is stored
2. The user can access the logfile using the following 2 functions:
* pg_file_readlog(int linenumber) - Retrieves the string for the given line number
* **pg_file_countlog() - Retrieves the number of lines existing in the logfile*
I have implemented this based on the suggestions given in the hackers mailing list.
If you know a better way, please share it with me. Waiting for your reply.
pgsql-patches by date
|Next:||From: Andrew Dunstan||Date: 2006-06-08 13:43:19|
|Subject: Re: [HACKERS] drop if exists remainder|
|Previous:||From: Qingqing Zhou||Date: 2006-06-08 03:14:15|
|Subject: Re: remove lock protection on HeapTupleSatisfiesVacuum|