PostgreSQL Source Code
git master
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
c
d
g
h
i
k
l
m
p
r
s
t
Functions
Variables
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
c
d
f
h
i
n
o
p
r
s
t
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
tzparser.h
Go to the documentation of this file.
1
/*-------------------------------------------------------------------------
2
*
3
* tzparser.h
4
* Timezone offset file parsing definitions.
5
*
6
* Portions Copyright (c) 1996-2025, PostgreSQL Global Development Group
7
* Portions Copyright (c) 1994, Regents of the University of California
8
*
9
* src/include/utils/tzparser.h
10
*
11
*-------------------------------------------------------------------------
12
*/
13
#ifndef TZPARSER_H
14
#define TZPARSER_H
15
16
#include "
utils/datetime.h
"
17
18
/*
19
* The result of parsing a timezone configuration file is an array of
20
* these structs, in order by abbrev. We export this because datetime.c
21
* needs it.
22
*/
23
typedef
struct
tzEntry
24
{
25
/* the actual data */
26
char
*
abbrev
;
/* TZ abbreviation (downcased) */
27
char
*
zone
;
/* zone name if dynamic abbrev, else NULL */
28
/* for a dynamic abbreviation, offset/is_dst are not used */
29
int
offset
;
/* offset in seconds from UTC */
30
bool
is_dst
;
/* true if a DST abbreviation */
31
/* source information (for error messages) */
32
int
lineno
;
33
const
char
*
filename
;
34
}
tzEntry
;
35
36
37
extern
TimeZoneAbbrevTable
*
load_tzoffsets
(
const
char
*
filename
);
38
39
#endif
/* TZPARSER_H */
datetime.h
filename
static char * filename
Definition:
pg_dumpall.c:123
TimeZoneAbbrevTable
Definition:
datetime.h:216
tzEntry
Definition:
tzparser.h:24
tzEntry::filename
const char * filename
Definition:
tzparser.h:33
tzEntry::lineno
int lineno
Definition:
tzparser.h:32
tzEntry::zone
char * zone
Definition:
tzparser.h:27
tzEntry::offset
int offset
Definition:
tzparser.h:29
tzEntry::abbrev
char * abbrev
Definition:
tzparser.h:26
tzEntry::is_dst
bool is_dst
Definition:
tzparser.h:30
tzEntry
struct tzEntry tzEntry
load_tzoffsets
TimeZoneAbbrevTable * load_tzoffsets(const char *filename)
Definition:
tzparser.c:449
src
include
utils
tzparser.h
Generated on Thu May 1 2025 06:13:26 for PostgreSQL Source Code by
1.9.4