Method: ActiveRecord::ConnectionAdapters::PostgreSQLAdapter#max_identifier_length
- Defined in:
- activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
#max_identifier_length ⇒ Object
Returns the configured maximum supported identifier length supported by PostgreSQL
659 660 661 |
# File 'activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb', line 659 def max_identifier_length @max_identifier_length ||= query_value("SHOW max_identifier_length").to_i end |