Re: [COMMITTERS] pgsql: Improve performance of timezone loading, especially pg_timezone_

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [COMMITTERS] pgsql: Improve performance of timezone loading, especially pg_timezone_
Дата
Msg-id 20119.1494170228@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [COMMITTERS] pgsql: Improve performance of timezone loading,especially pg_timezone_  (Amit Kapila <amit.kapila16@gmail.com>)
Ответы Re: [COMMITTERS] pgsql: Improve performance of timezone loading, especially pg_timezone_  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-committers
Amit Kapila <amit.kapila16@gmail.com> writes:
> On Sun, May 7, 2017 at 8:27 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Ah-hah.  Still, the log message should have been there before.

> No, it didn't exist before because dirname passed to scan_directory_ci
> didn't contain the filename appended to it.

Gotcha.  On closer look, the "fall through" path added by this commit
wasn't really exercised at all on Unix machines, because calls with
no canonname only occur when we expect to find the zone file with name
as stated.  It's accidental (and fortunate) that the bug in the MSVC
build support allowed us to find this bug promptly ;-)

I concur with your thought that these are separate bugs and deserve
separate commits.  Will do that in a minute.

            regards, tom lane


В списке pgsql-committers по дате отправления:

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Improve performance of timezone loading,especially pg_timezone_
Следующее
От: Tom Lane
Дата:
Сообщение: [COMMITTERS] pgsql: Restore fullname[] contents before falling through inpg_open_tz