Re: serverlog rotation/functions
| От | Tom Lane |
|---|---|
| Тема | Re: serverlog rotation/functions |
| Дата | |
| Msg-id | 20065.1089984593@sss.pgh.pa.us обсуждение |
| Ответ на | Re: serverlog rotation/functions (Andreas Pflug <pgadmin@pse-consulting.de>) |
| Ответы |
Re: serverlog rotation/functions
|
| Список | pgsql-hackers |
Andreas Pflug <pgadmin@pse-consulting.de> writes:
> In-use check is easy for the backend, if the syslog process publishes
> the current logfile's timestamp in sharedmem.
You really haven't absorbed any of the objections I've raised, have you?
I don't want the log process connected to shared mem at *all*, and see
no particularly good reason why it should be.
> We can use a GUC variable for the log_directory (not log_destination);
> anyway, I'd like the filenames to be selected by the server.
The directory should definitely be a GUC variable. The individual
filenames should probably be of the form <prefix><timestamp>, where
the server dictates the format of the timestamp (and we choose it so
that the names sort correctly). We could let the prefix be
user-selectable or make it hard-wired; I don't have a strong feeling
about that either way.
regards, tom lane
В списке pgsql-hackers по дате отправления: