pgsql: Clean up some awkward, inaccurate, and inefficient processing

Поиск
Список
Период
Сортировка
От tgl@postgresql.org (Tom Lane)
Тема pgsql: Clean up some awkward, inaccurate, and inefficient processing
Дата
Msg-id 20100502021033.B4BD97541D2@cvs.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Clean up some awkward, inaccurate, and inefficient processing around
MaxStandbyDelay.  Use the GUC units mechanism for the value, and choose more
appropriate timestamp functions for performing tests with it.  Make the
ps_activity manipulation in ResolveRecoveryConflictWithVirtualXIDs have
behavior similar to ps_activity code elsewhere, notably not updating the
display when update_process_title is off and not truncating the display
contents at an arbitrarily-chosen length.  Improve the docs to be explicit
about what MaxStandbyDelay actually measures, viz the difference between
primary and standby servers' clocks, and the possible hazards if their clocks
aren't in sync.

Modified Files:
--------------
    pgsql/doc/src/sgml:
        config.sgml (r1.272 -> r1.273)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/config.sgml?r1=1.272&r2=1.273)
        high-availability.sgml (r1.65 -> r1.66)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/high-availability.sgml?r1=1.65&r2=1.66)
    pgsql/src/backend/access/transam:
        xlog.c (r1.407 -> r1.408)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/transam/xlog.c?r1=1.407&r2=1.408)
    pgsql/src/backend/storage/ipc:
        standby.c (r1.20 -> r1.21)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/ipc/standby.c?r1=1.20&r2=1.21)
    pgsql/src/backend/utils/misc:
        guc.c (r1.553 -> r1.554)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/misc/guc.c?r1=1.553&r2=1.554)
        postgresql.conf.sample (r1.286 -> r1.287)

(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/misc/postgresql.conf.sample?r1=1.286&r2=1.287)

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

Предыдущее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Add code to InternalIpcMemoryCreate() to handle the case where
Следующее
От: sriggs@postgresql.org (Simon Riggs)
Дата:
Сообщение: pgsql: Mention that max_standby_delay has units of milliseconds.