pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
[9.1 beta 1] log_timezone = "unknown" does not work any more
3+ messages / 2 participants
[nested] [flat]

* [9.1 beta 1] log_timezone = "unknown" does not work any more
@ 2011-05-10 13:57  Martin Pitt <mpitt@debian.org>
  0 siblings, 1 reply; 3+ messages in thread

From: Martin Pitt @ 2011-05-10 13:57 UTC (permalink / raw)
  To: pgsql-bugs

Hello all,

I (or rather the Debian postgresql-common) test suite noticed that
postgresql.conf's "log_timezone = unknown" does not work any more:

  server starting
  FATAL:  invalid value for parameter "log_timezone": "unknown"

I think this should be considered a regression, as it's still in
postgresql.conf.sample, and in the documentation [1].

Thanks,

Martin

[1] http://developer.postgresql.org/pgdocs/postgres/runtime-config-logging.html#GUC-LOG-TIMEZONE
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

Attachments:

  signature.asc (application/pgp-signature, 835B) download

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: [9.1 beta 1] log_timezone = "unknown" does not work any more
@ 2011-05-10 14:35  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Martin Pitt <mpitt@debian.org>
  0 siblings, 1 reply; 3+ messages in thread

From: Tom Lane @ 2011-05-10 14:35 UTC (permalink / raw)
  To: Martin Pitt <mpitt@debian.org>; +Cc: pgsql-bugs

Martin Pitt <mpitt@debian.org> writes:
> Hello all,
> I (or rather the Debian postgresql-common) test suite noticed that
> postgresql.conf's "log_timezone = unknown" does not work any more:

That was an intentional change, actually.  Do you have a real use case
for setting it that way?

> I think this should be considered a regression, as it's still in
> postgresql.conf.sample, and in the documentation [1].

Hm.  I forgot to modify postgresql.conf.sample, and I'm not entirely
sure what to change it to.  Maybe just do

	#log_timezone = '(default is system's timezone)'

Anyone have a better idea?

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: [9.1 beta 1] log_timezone = "unknown" does not work any more
@ 2011-05-10 14:50  Martin Pitt <mpitt@debian.org>
  parent: Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 3+ messages in thread

From: Martin Pitt @ 2011-05-10 14:50 UTC (permalink / raw)
  To: pgsql-bugs

Hello,

Tom Lane [2011-05-10 10:35 -0400]:
> That was an intentional change, actually.  Do you have a real use case
> for setting it that way?

I don't, it's quite an useless setting. I just stumbled over it as I
use the standard upstream postgresql.conf.sample files (uncommented,
of course) in the self tests for configuration rewriting on major
version upgrade. I'm happy to change them to use a real value.

> > I think this should be considered a regression, as it's still in
> > postgresql.conf.sample, and in the documentation [1].
> 
> Hm.  I forgot to modify postgresql.conf.sample, and I'm not entirely
> sure what to change it to.  Maybe just do
> 
> 	#log_timezone = '(default is system's timezone)'

FWIW, looks tood to me. This makes it a lot more obvious that this
isn't an accepted literal value.

Thanks!

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2011-05-10 14:50 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2011-05-10 13:57 [9.1 beta 1] log_timezone = "unknown" does not work any more Martin Pitt <mpitt@debian.org>
2011-05-10 14:35 ` Tom Lane <tgl@sss.pgh.pa.us>
2011-05-10 14:50   ` Martin Pitt <mpitt@debian.org>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox