Andreas Pflug <[EMAIL PROTECTED]> 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 ---------------------------(end of broadcast)--------------------------- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match