Skip site navigation (1) Skip section navigation (2)

pgsql: Further fixes for per-tablespace options patch.

From: rhaas(at)postgresql(dot)org (Robert Haas)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Further fixes for per-tablespace options patch.
Date: 2010-01-07 03:53:08
Message-ID: 20100107035308.6DCBC7541B9@cvs.postgresql.org (view raw or flat)
Thread:
Lists: 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 by date

Next:From: Alvaro HerreraDate: 2010-01-07 03:58:34
Subject: Re: pgsql: PG_MAJORVERSION: For simplicity, use PG_MAJORVERSION rather than
Previous:From: Robert HaasDate: 2010-01-07 03:49:18
Subject: Re: pgsql: PG_MAJORVERSION: For simplicity, use PG_MAJORVERSION rather than

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group