pgsql: Allow units to be specified in relation option setting value.

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема pgsql: Allow units to be specified in relation option setting value.
Дата
Msg-id E1XMtvj-0006DF-QW@gemulon.postgresql.org
обсуждение исходный текст
Ответы Re: pgsql: Allow units to be specified in relation option setting value.  (Andres Freund <andres@2ndquadrant.com>)
Список pgsql-committers
Allow units to be specified in relation option setting value.

This introduces an infrastructure which allows us to specify the units
like ms (milliseconds) in integer relation option, like GUC parameter.
Currently only autovacuum_vacuum_cost_delay reloption can accept
the units.

Reviewed by Michael Paquier

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/e23014f3d40f7d2c23bc97207fd28efbe5ba102b

Modified Files
--------------
src/backend/access/common/reloptions.c    |   40 ++++++++++++++++-------------
src/include/access/reloptions.h           |    3 ++-
src/test/regress/expected/alter_table.out |   14 ++++++++++
src/test/regress/sql/alter_table.sql      |    6 +++++
4 files changed, 44 insertions(+), 19 deletions(-)


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

Предыдущее
От: Jeff Davis
Дата:
Сообщение: pgsql: Allow multibyte characters as escape in SIMILAR TO and SUBSTRING
Следующее
От: Andres Freund
Дата:
Сообщение: pgsql: Allow escaping of option values for options passed at connection