public inbox for [email protected]
help / color / mirror / Atom feedFrom: Josh Berkus <[email protected]>
To: [email protected]
Subject: Add strftime escapes to Log config
Date: Sun, 20 Mar 2011 13:32:49 -0700
Message-ID: <[email protected]> (raw)
All,
This page:
http://www.postgresql.org/docs/8.3/static/runtime-config-logging.html#RUNTIME-CONFIG-LOGGING-WHERE
has the following text:
The value is treated as a strftime pattern, so %-escapes can be used to
specify time-varying file names.
However, nowhere in our docs do we list sample strftime escapes. This
means that PG DBAs who are not programmers (and even some who are) end
up googling for them all the time. So I would like to add the following
text:
Useful excape codes which are available on most platforms include: %Y =
year, %m = month, %d = day of month, %H = hour, %M = minute, %a = short
weekday name, and %b = short month name.
--
-- Josh Berkus
PostgreSQL Experts Inc.
http://www.pgexperts.com
view thread (5+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected]
Subject: Re: Add strftime escapes to Log config
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox