Re: Timezone for %t log_line_prefix

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Timezone for %t log_line_prefix
Дата
Msg-id 200408042230.i74MU1B07536@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Timezone for %t log_line_prefix  (Andreas Pflug <pgadmin@pse-consulting.de>)
Список pgsql-hackers
Well, I see this in pgtz.c:
   {"Eastern Standard Time", "Eastern Daylight Time",    "US/Eastern"},             /* (GMT-05:00) Eastern Time (US &
Canada)*/
 

Can't we use this to map to slightly shorter names?


---------------------------------------------------------------------------

Andreas Pflug wrote:
> 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
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
> 
>                http://www.postgresql.org/docs/faqs/FAQ.html
> 

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


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

Предыдущее
От: "Cason, Kenny"
Дата:
Сообщение: Selecting a specific row
Следующее
От: Doug McNaught
Дата:
Сообщение: Re: Selecting a specific row