From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Andreas Pflug <pgadmin(at)pse-consulting(dot)de> |
Cc: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: serverlog rotation/functions |
Date: | 2004-07-16 13:29:53 |
Message-ID: | 20065.1089984593@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
Andreas Pflug <pgadmin(at)pse-consulting(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2004-07-16 13:37:19 | Re: Point in Time Recovery |
Previous Message | Tom Lane | 2004-07-16 13:23:01 | Re: [pgsql-hackers-win32] Weird new time zone |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2004-07-16 13:53:08 | Re: serverlog rotation/functions |
Previous Message | Christopher Kings-Lynne | 2004-07-16 09:57:01 | Re: add missing options to pg_dumpall |