diff options
author | Richard Schneeman <richard.schneeman@gmail.com> | 2015-03-02 10:20:14 -0600 |
---|---|---|
committer | Richard Schneeman <richard.schneeman@gmail.com> | 2015-03-02 10:20:14 -0600 |
commit | 1ba23ceaa68e0d242924564a38b69794f38eb17f (patch) | |
tree | b54787b40df539326d7627d011f18c0b57f7418a | |
parent | eeb1ab3a59a4da7ba47132336a77fce2b1f27a3c (diff) | |
parent | 7031dfcb0f1a0b0c2d4fca9c0206db8991f42952 (diff) | |
download | rails-1ba23ceaa68e0d242924564a38b69794f38eb17f.tar.gz rails-1ba23ceaa68e0d242924564a38b69794f38eb17f.tar.bz2 rails-1ba23ceaa68e0d242924564a38b69794f38eb17f.zip |
Merge pull request #19172 from JuanitoFatas/doc/fix-typo
[ci skip] Fix a typo for PostgreSQL text limit, GB instead of Gb.
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb b/activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb index 75b9d079bd..eeb141dd1e 100644 --- a/activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb +++ b/activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb @@ -514,14 +514,14 @@ module ActiveRecord sql = case type.to_s when 'binary' # PostgreSQL doesn't support limits on binary (bytea) columns. - # The hard limit is 1Gb, because of a 32-bit size field, and TOAST. + # The hard limit is 1GB, because of a 32-bit size field, and TOAST. case limit when nil, 0..0x3fffffff; super(type) else raise(ActiveRecordError, "No binary type has byte size #{limit}.") end when 'text' # PostgreSQL doesn't support limits on text columns. - # The hard limit is 1Gb, according to section 8.3 in the manual. + # The hard limit is 1GB, according to section 8.3 in the manual. case limit when nil, 0..0x3fffffff; super(type) else raise(ActiveRecordError, "The limit on text can be at most 1GB - 1byte.") |