Update FSM on WAL replay. This is a bit limited; the FSM is only updated
[PostgreSQL.git] / src / include / utils / tzparser.h
blob7de69aa2a361f5c4e0ef2c012bf71300bbd28a79
1 /*-------------------------------------------------------------------------
3 * tzparser.h
4 * Timezone offset file parsing definitions.
6 * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
7 * Portions Copyright (c) 1994, Regents of the University of California
9 * $PostgreSQL$
11 *-------------------------------------------------------------------------
13 #ifndef TZPARSER_H
14 #define TZPARSER_H
17 * The result of parsing a timezone configuration file is an array of
18 * these structs, in order by abbrev. We export this because datetime.c
19 * needs it.
21 typedef struct tzEntry
23 /* the actual data: TZ abbrev (downcased), offset, DST flag */
24 char *abbrev;
25 int offset; /* in seconds from UTC */
26 bool is_dst;
27 /* source information (for error messages) */
28 int lineno;
29 const char *filename;
30 } tzEntry;
33 extern bool load_tzoffsets(const char *filename, bool doit, int elevel);
35 #endif /* TZPARSER_H */