Andreas Pflug <pgadmin(at)pse-consulting(dot)de> writes:
> For adminstrator's convenience, I'd like to see a function that returns
> the serverlog.
What do you mean by "returns the serverlog"? Are you going to magically
recover data that has gone to stderr or the syslogd daemon? If so, how?
And why wouldn't you just go and look at the log file, instead?
regards, tom lane