From 2d040e756ed1d97c0f70e8542807ae13d5fc1b5b Mon Sep 17 00:00:00 2001 From: Ryuta Kamizono Date: Sun, 25 Apr 2021 20:09:39 +0900 Subject: [PATCH] Fix typo s/PostgresSQL/PostgreSQL/ [ci skip] --- activerecord/CHANGELOG.md | 2 +- guides/source/configuring.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index 849c15595c..db0aca57a6 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -32,7 +32,7 @@ * Add setting for enumerating column names in SELECT statements. - Adding a column to a PostgresSQL database, for example, while the application is running can + Adding a column to a PostgreSQL database, for example, while the application is running can change the result of wildcard `SELECT *` queries, which invalidates the result of cached prepared statements and raises a `PreparedStatementCacheExpired` error. diff --git a/guides/source/configuring.md b/guides/source/configuring.md index 37a335fa70..5badaadb11 100644 --- a/guides/source/configuring.md +++ b/guides/source/configuring.md @@ -473,7 +473,7 @@ in controllers and views. This defaults to `false`. * `config.active_record.queues.destroy` allows specifying the Active Job queue to use for destroy jobs. When this option is `nil`, purge jobs are sent to the default Active Job queue (see `config.active_job.default_queue_name`). It defaults to `nil`. -* `config.active_record.enumerate_columns_in_select_statements` when true, will always include column names in `SELECT` statements, and avoid wildcard `SELECT * FROM ...` queries. This avoids prepared statement cache errors when adding columns to a PostgresSQL database for example. Defaults to `false`. +* `config.active_record.enumerate_columns_in_select_statements` when true, will always include column names in `SELECT` statements, and avoid wildcard `SELECT * FROM ...` queries. This avoids prepared statement cache errors when adding columns to a PostgreSQL database for example. Defaults to `false`. The MySQL adapter adds one additional configuration option: