Re: Timezone for %t log_line_prefix

Поиск
Список
Период
Сортировка
От Andreas Pflug
Тема Re: Timezone for %t log_line_prefix
Дата
Msg-id 41117914.5090604@pse-consulting.de
обсуждение исходный текст
Ответ на Re: Timezone for %t log_line_prefix  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Timezone for %t log_line_prefix  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: Timezone for %t log_line_prefix  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> 
> Does Windows' strftime have any short zone name %-spec?  Seems like a
> quick #ifdef WIN32 to use a more compact zone name would be the best
> solution.

I already checked; unfortunately there's no short zone option. %z and %Z 
give identical output.

> 
> I'd be inclined to leave out the zone field *on Windows only* if there
> is no %-spec that uses something more reasonable.  I don't think this
> problem justifies adding more %-options to log_line_prefix.

I don't have a problem with either way, but it appears desirable if 
there would be a log_line_prefix option that gives identical result on 
all systems.

Regards,
Andreas


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Timezone for %t log_line_prefix
Следующее
От: "Cason, Kenny"
Дата:
Сообщение: Selecting a specific row