]> granicus.if.org Git - postgresql/commit
Allow units to be specified in relation option setting value.
authorFujii Masao <fujii@postgresql.org>
Thu, 28 Aug 2014 06:55:50 +0000 (15:55 +0900)
committerFujii Masao <fujii@postgresql.org>
Thu, 28 Aug 2014 06:55:50 +0000 (15:55 +0900)
commite23014f3d40f7d2c23bc97207fd28efbe5ba102b
tree2c5120b892ab6407306600ccc59412c2834b28b4
parent8167a3883a3c49f2f77785f8e5f638920c9f14ef
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
src/backend/access/common/reloptions.c
src/include/access/reloptions.h
src/test/regress/expected/alter_table.out
src/test/regress/sql/alter_table.sql