A B <gentosaker@gmail.com> writes:
> But I get files
> postgresql.log.1233263415
> postgresql.log.1233263531
That's what it's defined to do when you set log_filename to a constant.
The expected use pattern involves putting some strftime percent-escapes
into the log_filename pattern. See the examples in the 'where to log'
section of the manual (look under log_truncate_on_rotation in
particular).
regards, tom lane