pgsql: Install some simple defenses in postmaster startup to help ensure

Поиск
Список
Период
Сортировка
От tgl@postgresql.org (Tom Lane)
Тема pgsql: Install some simple defenses in postmaster startup to help ensure
Дата
Msg-id 20090502220237.CEC1575407B@cvs.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Install some simple defenses in postmaster startup to help ensure a useful
error message if the installation directory layout is messed up (or at least,
something more useful than the behavior exhibited in bug #4787).  During
postmaster startup, check that get_pkglib_path resolves as a readable
directory; and if ParseTzFile() fails to open the expected timezone
abbreviation file, check the possibility that the directory is missing rather
than just the specified file.  In case of either failure, issue a hint
suggesting that the installation is broken.  These two checks cover the lib/
and share/ trees of a full installation, which should take care of most
scenarios where a sysadmin decides to get cute.

Modified Files:
--------------
    pgsql/src/backend/postmaster:
        postmaster.c (r1.577 -> r1.578)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/postmaster/postmaster.c?r1=1.577&r2=1.578)
    pgsql/src/backend/utils/misc:
        tzparser.c (r1.7 -> r1.8)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/misc/tzparser.c?r1=1.7&r2=1.8)

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

Предыдущее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: We don't need major_release_split any more.
Следующее
От: bmomjian@pgfoundry.org (User Bmomjian)
Дата:
Сообщение: pg-migrator - src: Properly name loop variables.