diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2017-05-07 11:34:31 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2017-05-07 11:35:05 -0400 |
commit | 07987304d613be200e8e2e603e448233a344d674 (patch) | |
tree | 757b30d8eba0a2c36089c2931430b4fbdf9e4ce9 /src/backend/executor/execCurrent.c | |
parent | 3aa16b117a28d70790ce492435d1dfc323edb547 (diff) |
Restore fullname[] contents before falling through in pg_open_tzfile().
Fix oversight in commit af2c5aa88: if the shortcut open() doesn't work,
we need to reset fullname[] to be just the name of the toplevel tzdata
directory before we fall through into the pre-existing code. This failed
to be exposed in my (tgl's) testing because the fall-through path is
actually never taken under normal circumstances.
David Rowley, per report from Amit Kapila
Discussion: https://postgr.es/m/CAA4eK1LC7CaNhRAQ__C3ht1JVrPzaAXXhEJRnR5L6bfYHiLmWw@mail.gmail.com
Diffstat (limited to 'src/backend/executor/execCurrent.c')
0 files changed, 0 insertions, 0 deletions