pgsql-server/src backend/commands/variable.c b ...

Поиск
Список
Период
Сортировка
Искать

pgsql-server/src backend/commands/variable.c b ...

От:
tgl@developer.postgresql.org (Tom Lane)
Дата:
CVSROOT:	/cvsroot
Module name:	pgsql-server
Changes by:	tgl@developer.postgresql.org	03/05/17 21:06:26

Modified files:
	src/backend/commands: variable.c 
	src/backend/utils/adt: datetime.c 
	src/include/utils: datetime.h 

Log message:
	Add code to test for unknown timezone names (following some ideas from
	Ross Reedstrom, a couple months back) and to detect timezones that are
	using leap-second timekeeping.  The unknown-zone-name test is pretty
	heuristic and ugly, but it seems better than the old behavior of just
	switching to GMT given a bad name.  Also make DecodePosixTimezone() a
	tad more robust.

Re: pgsql-server/src backend/commands/variable.c b ...

От:
Bruce Momjian <pgman@candle.pha.pa.us>
Дата:

Tom, I am seeing compile failures because of this change.  I don't have
a global timezone here but have the struct tm.  I see in other uses of
timezone that we test for 'struct tm' and than if it doesn't exist, use
timezone.

Can you make that change?

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

Tom Lane wrote:
> CVSROOT:	/cvsroot
> Module name:	pgsql-server
> Changes by:	tgl@developer.postgresql.org	03/05/17 21:06:26
> 
> Modified files:
> 	src/backend/commands: variable.c 
> 	src/backend/utils/adt: datetime.c 
> 	src/include/utils: datetime.h 
> 
> Log message:
> 	Add code to test for unknown timezone names (following some ideas from
> 	Ross Reedstrom, a couple months back) and to detect timezones that are
> 	using leap-second timekeeping.  The unknown-zone-name test is pretty
> 	heuristic and ugly, but it seems better than the old behavior of just
> 	switching to GMT given a bad name.  Also make DecodePosixTimezone() a
> 	tad more robust.
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
> 
> http://archives.postgresql.org
> 

-- 
  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, Pennsylvania 19073
FAQ