Go to the source code of this file.
◆ tzEntry
◆ load_tzoffsets()
Definition at line 449 of file tzparser.c.
450{
456 int n;
457
458
459
460
461
463 "TZParserMemory",
466
467
470
471
473
474
475 if (n >= 0)
476 {
478 if (!result)
480 }
481
482
485
486 return result;
487}
TimeZoneAbbrevTable * ConvertTimeZoneAbbrevs(struct tzEntry *abbrevs, int n)
#define palloc_array(type, count)
MemoryContext CurrentMemoryContext
void MemoryContextDelete(MemoryContext context)
#define AllocSetContextCreate
#define ALLOCSET_SMALL_SIZES
static MemoryContext MemoryContextSwitchTo(MemoryContext context)
static int ParseTzFile(const char *filename, int depth, tzEntry **base, int *arraysize, int n)
References ALLOCSET_SMALL_SIZES, AllocSetContextCreate, ConvertTimeZoneAbbrevs(), CurrentMemoryContext, fb(), filename, GUC_check_errmsg, MemoryContextDelete(), MemoryContextSwitchTo(), palloc_array, and ParseTzFile().
Referenced by check_timezone_abbreviations().