Skip to content

Merge back release (5.2.1) into master #938

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Nov 15, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -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.

Expand All @@ -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`

Expand Down
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
33 changes: 28 additions & 5 deletions readmes/README_ja_JP.md
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,11 @@ PostgreSQL docsパッケージリソースが存在する必要があるかど

データタイプ: 真偽値(boolean)

データページに対してチェックサムを使用すると、その他の方法では発見の難しいI/Oシステムによる破損を検出するのに役立ちます。有効な値: `true`、`false`。デフォルト値: initdbのデフォルト値('false')。
データページに対してチェックサムを使用すると、その他の方法では発見の難しいI/Oシステムによる破損を検出するのに役立ちます。

有効な値: `true`、`false`。

デフォルト値: initdbのデフォルト値(`false`)。

**警告:** このオプションは、initdbによって初期化中に使用され、後から変更することはできません。設定された時点で、すべてのデータベース内のすべてのオブジェクトに対してチェックサムが計算されます。

Expand Down Expand Up @@ -757,7 +761,11 @@ PostgreSQL Pythonパッケージの名前。

データタイプ: 真偽値(boolean)

データページに対してチェックサムを使用すると、その他の方法では発見の難しいI/Oシステムによる破損を検出するのに役立ちます。有効な値: `true`、`false`。デフォルト値: initdbのデフォルト値('false')。
データページに対してチェックサムを使用すると、その他の方法では発見の難しいI/Oシステムによる破損を検出するのに役立ちます。

有効な値: `true`、`false`。

デフォルト値: initdbのデフォルト値(`false`)。

**警告:** このオプションは、initdbによって初期化中に使用され、後から変更することはできません。設定された時点で、すべてのデータベース内のすべてのオブジェクトに対してチェックサムが計算されます。

Expand Down Expand Up @@ -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`

拡張を有効化する前にインストールするパッケージを指定します。
Expand Down Expand Up @@ -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`
Expand All @@ -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`
Expand Down Expand Up @@ -1811,7 +1834,7 @@ PostgreSQLのバージョン8.1~9.5で動作します。

現在、postgresqlモジュールは次のオペレーティングシステムでテスト済みです。

* Debian 6.x7.x8.x
* Debian 6.x, 7.x, 8.x.
* CentOS 5.x、6.x、7.x。
* Ubuntu 10.04および12.04、14.04。

Expand Down