aboutsummaryrefslogtreecommitdiffstats
path: root/actioncable/CHANGELOG.md
diff options
context:
space:
mode:
authorpalkan <dementiev.vm@gmail.com>2017-07-06 17:34:05 +0300
committerpalkan <dementiev.vm@gmail.com>2017-07-06 17:34:05 +0300
commit2bce7777b70efe81f45e4ae8dc61b25f1e18771e (patch)
tree31ebb4f359bd8b604621d510b9c6944be4eecc96 /actioncable/CHANGELOG.md
parentc8ce3459648ce0f86646b564ce1c0bb16a4b48eb (diff)
downloadrails-2bce7777b70efe81f45e4ae8dc61b25f1e18771e.tar.gz
rails-2bce7777b70efe81f45e4ae8dc61b25f1e18771e.tar.bz2
rails-2bce7777b70efe81f45e4ae8dc61b25f1e18771e.zip
[Fix #28751] Hash stream long stream identifiers when using Postgres adapter
Diffstat (limited to 'actioncable/CHANGELOG.md')
-rw-r--r--actioncable/CHANGELOG.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/actioncable/CHANGELOG.md b/actioncable/CHANGELOG.md
index b1408496a0..fbe9863af7 100644
--- a/actioncable/CHANGELOG.md
+++ b/actioncable/CHANGELOG.md
@@ -1,3 +1,12 @@
+* Hash long stream identifiers when using Postgres adapter.
+
+ PostgreSQL has a limit on identifiers length (63 chars, [docs](https://www.postgresql.org/docs/current/static/sql-syntax-lexical.html#SQL-SYNTAX-IDENTIFIERS)).
+ Provided fix minifies identifiers longer than 63 chars by hashing them with SHA1.
+
+ Fixes #28751.
+
+ *Vladimir Dementyev*
+
* ActionCable's `redis` adapter allows for other common redis-rb options (`host`, `port`, `db`, `password`) in cable.yml.
Previously, it accepts only a [redis:// url](https://www.iana.org/assignments/uri-schemes/prov/redis) as an option.