pgsql: Prevent RevalidateCachedPlan from making any permanent change in

Поиск
Список
Период
Сортировка
От tgl@postgresql.org (Tom Lane)
Тема pgsql: Prevent RevalidateCachedPlan from making any permanent change in
Дата
Msg-id 20070514181322.107109FBCFD@postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Prevent RevalidateCachedPlan from making any permanent change in
ActiveSnapshot.  Having it affect ActiveSnapshot only in the unusual
case of needing to replan seems a bad idea, and there's also the problem
that the created snap might be in a relatively short-lived context, as
noted by Jan Wieck.  Also, there's no need to force a new snap at all
unless we are called with no snap currently set, which is an unusual
case in itself.

Modified Files:
--------------
    pgsql/src/backend/utils/cache:
        plancache.c (r1.8 -> r1.9)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/cache/plancache.c.diff?r1=1.8&r2=1.9)

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

Предыдущее
От: alvherre@postgresql.org (Alvaro Herrera)
Дата:
Сообщение: pgsql: Report all dependent objects to the server log when a shared
Следующее
От: andrewd@pgfoundry.org (User Andrewd)
Дата:
Сообщение: pgbuildfarm - client-code: Abandon multiroot hack - in effect all builds