Re: [HACKERS] elog tab indentation

2003-10-16 Thread Tom Lane
Bruce Momjian <[EMAIL PROTECTED]> writes: > Oh, makes sense. How do you propose we split this up? Do I look for > the words \nDETAIL and \nHINT and not tab in those cases? That won't work. I think the tab-insertion has to be done while building the message string, earlier in send_message_to_ser

Re: [HACKERS] elog tab indentation

2003-10-16 Thread Bruce Momjian
Tom Lane wrote: > Bruce Momjian <[EMAIL PROTECTED]> writes: > > I thought DETAIL/HINT would be separate elog calls, and hence start at > > the beginning of the line. Are they all in on big elog string? > > Yes --- that's to try to ensure that the whole mess gets written to the > log atomically.

Re: [HACKERS] elog tab indentation

2003-10-16 Thread Tom Lane
Bruce Momjian <[EMAIL PROTECTED]> writes: > I thought DETAIL/HINT would be separate elog calls, and hence start at > the beginning of the line. Are they all in on big elog string? Yes --- that's to try to ensure that the whole mess gets written to the log atomically. rega

Re: [HACKERS] elog tab indentation

2003-10-16 Thread Bruce Momjian
Tom Lane wrote: > I observe that the server log is now indenting DETAIL/HINT lines: > > LOG: server process (PID 8468) was terminated by signal 6 > LOG: terminating any other active server processes > WARNING: terminating connection because of crash of another server process > DETAIL: Th