pgsql: Ensure default-only storage parameters for TOAST relations to be

Поиск
Список
Период
Сортировка
От itagaki@postgresql.org (Takahiro Itagaki)
Тема pgsql: Ensure default-only storage parameters for TOAST relations to be
Дата
Msg-id 20100607030135.145A37541D2@cvs.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Ensure default-only storage parameters for TOAST relations
to be initialized with proper values. Affected parameters are
fillfactor, analyze_threshold, and analyze_scale_factor.

Especially uninitialized fillfactor caused inefficient page usage
because we built a StdRdOptions struct in which fillfactor is zero
if any reloption is set for the toast table.

In addition, we disallow toast.autovacuum_analyze_threshold and
toast.autovacuum_analyze_scale_factor because we didn't actually
support them; they are always ignored.

Report by Rumko on pgsql-bugs on 12 May 2010.
Analysis by Tom Lane and Alvaro Herrera. Patch by me.

Backpatch to 8.4.

Tags:
----
REL8_4_STABLE

Modified Files:
--------------
    pgsql/doc/src/sgml/ref:
        create_table.sgml (r1.114.2.2 -> r1.114.2.3)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/ref/create_table.sgml?r1=1.114.2.2&r2=1.114.2.3)
    pgsql/src/backend/access/common:
        reloptions.c (r1.28.2.2 -> r1.28.2.3)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/common/reloptions.c?r1=1.28.2.2&r2=1.28.2.3)

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

Предыдущее
От: itagaki@postgresql.org (Takahiro Itagaki)
Дата:
Сообщение: pgsql: Ensure default-only storage parameters for TOAST relations to be
Следующее
От: teodor@postgresql.org (Teodor Sigaev)
Дата:
Сообщение: pgsql: Add missed function dblink_connect_u(text[,text]) to uninstall