diff --git a/CHANGELOG.md b/CHANGELOG.md index b717c0d8ac..c1cc5ca675 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,15 @@ +# Change log + +All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) +and this project adheres to [Semantic Versioning](http://semver.org). + +## Supported Release 5.2.1 +### Summary +Bug fix for issue introduced in 5.2.0 + +#### Fixed +- issue where the module was attempting to install extensions before a database was available. ([SERVER-2003](https://tickets.puppetlabs.com/browse/SERVER-2003)) + ## Supported Release 5.2.0 ### Summary Adds several new features including some work around OS support. Also includes a couple of fixes to tests and the removal of unsupported Ubuntu versions. diff --git a/README.md b/README.md index 6561ed0099..f41c83434d 100644 --- a/README.md +++ b/README.md @@ -455,7 +455,11 @@ Optional. Data type: Boolean. -Use checksums on data pages to help detect corruption by the I/O system that would otherwise be silent. Valid values: 'true' or 'false'. Default: initdb's default ('false'). +Use checksums on data pages to help detect corruption by the I/O system that would otherwise be silent. + +Valid values: `true` or `false`. + +Default: initdb's default (`false`). **Warning:** This option is used during initialization by initdb, and cannot be changed later. If set, checksums are calculated for all objects, in all databases. @@ -757,7 +761,11 @@ Optional. Data type: Boolean. -Use checksums on data pages to help detect corruption by the I/O system that would otherwise be silent. Valid values: `true` or `false`. Default: initdb's default (`false`). +Use checksums on data pages to help detect corruption by the I/O system that would otherwise be silent. + +Valid values: `true` or `false`. + +Default value: initdb's default (`false`). **Warning:** This option is used during initialization by initdb, and cannot be changed later. If set, checksums are calculated for all objects, in all databases. @@ -767,7 +775,7 @@ Specifies the name of the default database to connect with. On most systems this ##### `default_connect_settings` -Specifies a hash of environment variables used when connecting to a remote server. Becomes the default for other defined-types. i.e. `postgresql::server::role` +Specifies a hash of environment variables used when connecting to a remote server. Becomes the default for other defined types, such as `postgresql::server::role`. ##### `encoding` diff --git a/metadata.json b/metadata.json index 7d7513d986..fc5dc60156 100644 --- a/metadata.json +++ b/metadata.json @@ -1,6 +1,6 @@ { "name": "puppetlabs-postgresql", - "version": "5.2.0", + "version": "5.2.1", "author": "Inkling/Puppet Labs", "summary": "Offers support for basic management of PostgreSQL databases.", "license": "Apache-2.0", diff --git a/readmes/README_ja_JP.md b/readmes/README_ja_JP.md index 496df2b3b1..de69428dc9 100644 --- a/readmes/README_ja_JP.md +++ b/readmes/README_ja_JP.md @@ -455,7 +455,11 @@ PostgreSQL docsパッケージリソースが存在する必要があるかど データタイプ: 真偽値(boolean) -データページに対してチェックサムを使用すると、その他の方法では発見の難しいI/Oシステムによる破損を検出するのに役立ちます。有効な値: `true`、`false`。デフォルト値: initdbのデフォルト値('false')。 +データページに対してチェックサムを使用すると、その他の方法では発見の難しいI/Oシステムによる破損を検出するのに役立ちます。 + +有効な値: `true`、`false`。 + +デフォルト値: initdbのデフォルト値(`false`)。 **警告:** このオプションは、initdbによって初期化中に使用され、後から変更することはできません。設定された時点で、すべてのデータベース内のすべてのオブジェクトに対してチェックサムが計算されます。 @@ -757,7 +761,11 @@ PostgreSQL Pythonパッケージの名前。 データタイプ: 真偽値(boolean) -データページに対してチェックサムを使用すると、その他の方法では発見の難しいI/Oシステムによる破損を検出するのに役立ちます。有効な値: `true`、`false`。デフォルト値: initdbのデフォルト値('false')。 +データページに対してチェックサムを使用すると、その他の方法では発見の難しいI/Oシステムによる破損を検出するのに役立ちます。 + +有効な値: `true`、`false`。 + +デフォルト値: initdbのデフォルト値(`false`)。 **警告:** このオプションは、initdbによって初期化中に使用され、後から変更することはできません。設定された時点で、すべてのデータベース内のすべてのオブジェクトに対してチェックサムが計算されます。 @@ -1191,6 +1199,21 @@ PostgreSQL拡張を管理します。 有効化する拡張を指定します。空欄にした場合、リソースの名前が使用されます。 +#### `version` + +データベースが使用するエクステンションのバージョンを指定します。 +拡張パッケージが更新された場合、各データベースで有効なバージョンを自動的に変更することはありません。 + +そのためには、PostgreSQLに固有のSQL `ALTER EXTENSION...`を使用して更新する必要があります + +`version`は`latest`に設定できます。この場合、SQL `ALTER EXTENSION "extension" UPDATE`がこのデータベースのみに適用されます。 + +`version`は特定のバージョンに設定できます。この場合、拡張は`ALTER EXTENSION "extension" UPDATE TO 'version'`を使用して更新されます + +例えば、拡張を`postgis`、バージョンを`2.3.3`に設定した場合、SQL `ALTER EXTENSION "postgis" UPDATE TO '2.3.3'`がこのデータベースのみに適用されます。 + +`version`は省略される場合もあります。この場合、SQL `ALTER EXTENSION...`は適用されません。バージョンは変更されず、そのままになります。 + ##### `package_name` 拡張を有効化する前にインストールするパッケージを指定します。 @@ -1439,7 +1462,7 @@ PostgreSQLコマンド'REASSIGN OWNED'をデータベースに対して実行し * `archive_cleanup_command` * `recovery_end_command` -##### [リカバリターゲット設定](http://www.postgresql.org/docs/current/static/recovery-target-settings.html) +##### [Recovery Target Settings](http://www.postgresql.org/docs/current/static/recovery-target-settings.html) * `recovery_target_name` * `recovery_target_time` * `recovery_target_xid` @@ -1448,7 +1471,7 @@ PostgreSQLコマンド'REASSIGN OWNED'をデータベースに対して実行し * `recovery_target_timeline` * `pause_at_recovery_target` -##### [スタンバイサーバー設定](http://www.postgresql.org/docs/current/static/standby-settings.html) +##### [Standby Server Settings](http://www.postgresql.org/docs/current/static/standby-settings.html) * `standby_mode`: 文字列('on'/'off')またはブール値(`true`/`false`)で指定できます。 * `primary_conninfo` * `primary_slot_name` @@ -1811,7 +1834,7 @@ PostgreSQLのバージョン8.1~9.5で動作します。 現在、postgresqlモジュールは次のオペレーティングシステムでテスト済みです。 -* Debian 6.x、7.x、8.x。 +* Debian 6.x, 7.x, 8.x. * CentOS 5.x、6.x、7.x。 * Ubuntu 10.04および12.04、14.04。