pgsql: Further fixes for per-tablespace options patch.

Поиск
Список
Период
Сортировка
От rhaas@postgresql.org (Robert Haas)
Тема pgsql: Further fixes for per-tablespace options patch.
Дата
Msg-id 20100107035308.6DCBC7541B9@cvs.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Further fixes for per-tablespace options patch.

Add missing varlena header to TableSpaceOpts structure.  And, per
Tom Lane, instead of calling tablespace_reloptions in CacheMemoryContext,
call it in the caller's memory context and copy the value over
afterwards, to reduce the chances of a session-lifetime memory leak.

Modified Files:
--------------
    pgsql/src/backend/utils/cache:
        spccache.c (r1.3 -> r1.4)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/cache/spccache.c?r1=1.3&r2=1.4)
    pgsql/src/include/commands:
        tablespace.h (r1.22 -> r1.23)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/commands/tablespace.h?r1=1.22&r2=1.23)

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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: pgsql: PG_MAJORVERSION: For simplicity, use PG_MAJORVERSION rather than
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: pgsql: PG_MAJORVERSION: For simplicity, use PG_MAJORVERSION rather than