aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/funcs.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2017-05-07 11:34:31 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2017-05-07 11:34:58 -0400
commit6eedc6c18a90ef9412a7722695edb15a3a6a09bf (patch)
tree5f7b3444a84682cba4b0b002424752ea96d445d1 /src/tutorial/funcs.c
parentf14bf0a8fdd5a9fb2c5be692e0c9003185b88fa3 (diff)
downloadpostgresql-6eedc6c18a90ef9412a7722695edb15a3a6a09bf.tar.gz
postgresql-6eedc6c18a90ef9412a7722695edb15a3a6a09bf.zip
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/tutorial/funcs.c')
0 files changed, 0 insertions, 0 deletions