lib/arjdbc/postgresql/adapter.rb
# Returns the configured supported identifier length supported by PostgreSQL,
# or report the default of 63 on PostgreSQL 7.x.
Returns the configured supported identifier length supported by PostgreSQL,
or report the default of 63 on PostgreSQL 7.x.
Returns the configured supported identifier length supported by PostgreSQL or report the default of 63 on PostgreSQL 7 . x .
def table_alias_length
      @table_alias_length ||= (
        postgresql_version >= 80000 ?
          select_one('SHOW max_identifier_length', 'SCHEMA'.freeze)['max_identifier_length'].to_i :
            63
      )
    end
def table_alias_length @table_alias_length ||= ( postgresql_version >= 80000 ? select_one ( 'SHOW max_identifier_length' , 'SCHEMA' . freeze ) [ 'max_identifier_length' ] . to_i : 63 ) end
Returns the configured supported identifier length supported by PostgreSQL,
or report the default of 63 on PostgreSQL 7.x.
Returns the configured supported identifier length supported by PostgreSQL or report the default of 63 on PostgreSQL 7 . x .