Log rolling

Started by Alan Nilssonover 13 years ago2 messagesgeneral
Jump to latest
#1Alan Nilsson
anilsson@apple.com

Is there any sql/psql command to force a log roll (i.e. start a new log file)?

alan

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

#2Adrian Klaver
adrian.klaver@aklaver.com
In reply to: Alan Nilsson (#1)
Re: Log rolling

On 12/20/2012 02:08 PM, Alan Nilsson wrote:

Is there any sql/psql command to force a log roll (i.e. start a new log file)?

http://www.postgresql.org/docs/9.2/interactive/functions-admin.html

pg_rotate_logfile()

alan

--
Adrian Klaver
adrian.klaver@gmail.com

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general