[COMMITTERS] pgsql: Restore fullname[] contents before falling through inpg_open_tz - Mailing list pgsql-committers

From Tom Lane
Subject [COMMITTERS] pgsql: Restore fullname[] contents before falling through inpg_open_tz
Date
Msg-id E1d7ODa-0007E9-8C@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
REL9_3_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/07987304d613be200e8e2e603e448233a344d674

Modified Files
--------------
src/timezone/pgtz.c | 1 +
1 file changed, 1 insertion(+)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [COMMITTERS] pgsql: Improve performance of timezone loading, especially pg_timezone_
Next
From: Tom Lane
Date:
Subject: [COMMITTERS] pgsql: Install the "posixrules" timezone link in MSVC builds.