Re: Postgres server output logfile
От | Giles Lean |
---|---|
Тема | Re: Postgres server output logfile |
Дата | |
Msg-id | 2595.1044308343@nemeton.com.au обсуждение исходный текст |
Ответ на | Re: Postgres server output logfile (Jean-Luc Lachance <jllachan@nsd.ca>) |
Ответы |
Re: Postgres server output logfile
|
Список | pgsql-general |
Jean-Luc Lachance <jllachan@nsd.ca> writes: > He is my very simple solution: One of the constraints on the code that I wrote was that it try to be robust. Having the database go down because the log writing program exited due to a transiently full filesystem was thought to be undesirable -- see Tom Lane's comments in the archives. > if ( output == NULL) > { > fprintf( stderr, "%s: cannot write to file: %s", argv[ 0], argv[ > 1]); > exit( 2); > } The Apache rotatelogs program is similar, or was when I looked at it last. Perhaps they've worked on it recently. (Perhaps I should offer some improvements ... in my copious spare time. :-) Regards, Giles
В списке pgsql-general по дате отправления: