Thread: BUG #3622: pg_rotate_logfile() does not work

BUG #3622: pg_rotate_logfile() does not work

From
"ITAGAKI Takahiro"
Date:
The following bug has been logged online:

Bug reference:      3622
Logged by:          ITAGAKI Takahiro
Email address:      itagaki.takahiro@oss.ntt.co.jp
PostgreSQL version: 8.3dev
Operating system:   ALL
Description:        pg_rotate_logfile() does not work
Details:

"SELECT pg_rotate_logfile()" does not force log file to rotate.

pg_rotate_logfile() calls logfile_rotate(), but it has no effect because it
is called with time_based_rotation = false and size_rotation_for = 0 in such
case.