Add GUC setting for Australian timezones. Uses new GUC boolean callback
Bruce Momjian <bruce@momjian.us>
Add GUC setting for Australian timezones. Uses new GUC boolean callback functions to clear date cache. Allow regression tests to pass when timezone set.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/runtime.sgml | modified | +12 −1 |
| src/backend/utils/adt/datetime.c | modified | +27 −26 |
| src/backend/utils/misc/guc.c | modified | +12 −5 |
| src/backend/utils/misc/postgresql.conf.sample | modified | +10 −18 |
| src/include/utils/datetime.h | modified | +3 −1 |
| src/include/utils/guc.h | modified | +2 −1 |
| src/test/regress/expected/horology-no-DST-before-1970.out | modified | +2 −0 |
| src/test/regress/expected/horology.out | modified | +2 −0 |
| src/test/regress/expected/horology-solaris-1947.out | modified | +2 −0 |
| src/test/regress/expected/timestamp.out | modified | +2 −0 |
| src/test/regress/sql/horology.sql | modified | +2 −1 |
| src/test/regress/sql/timestamp.sql | modified | +2 −1 |