From: | Fujii Masao <fujii(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Allow units to be specified in relation option setting value. |
Date: | 2014-08-28 07:15:35 |
Message-ID: | E1XMtvj-0006DF-QW@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers pgsql-hackers |
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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Andres Freund | 2014-08-28 12:02:02 | pgsql: Allow escaping of option values for options passed at connection |
Previous Message | Jeff Davis | 2014-08-28 04:09:30 | pgsql: Allow multibyte characters as escape in SIMILAR TO and SUBSTRING |
From | Date | Subject | |
---|---|---|---|
Next Message | Fujii Masao | 2014-08-28 07:20:45 | Re: Specifying the unit in storage parameter |
Previous Message | Michael Paquier | 2014-08-28 07:10:56 | Re: Support for N synchronous standby servers |