Simplify timezone-handling code per proposal to pghackers: get rid of
Tom Lane <tgl@sss.pgh.pa.us>
Simplify timezone-handling code per proposal to pghackers: get rid of setting timezone-related variables during transaction start. They were not used anyway in platforms that HAVE_TM_ZONE or HAVE_INT_TIMEZONE, which it appears is *all* the platforms we are currently supporting. For platforms that have neither, we now only support UTC or numeric- offset-from-UTC timezones.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/adt/datetime.c | modified | +3 −2 |
| src/backend/utils/adt/nabstime.c | modified | +29 −164 |
| src/backend/utils/adt/timestamp.c | modified | +7 −3 |
| src/backend/utils/init/globals.c | modified | +1 −3 |
| src/include/miscadmin.h | modified | +3 −7 |