Class: DataObjects::Postgres::Connection

Inherits:
Object
  • Object
show all
Defined in:
lib/do_postgres.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.pool_sizeObject



23
24
25
# File 'lib/do_postgres.rb', line 23

def self.pool_size
  20
end

Instance Method Details

#character_setObject



27
28
29
30
31
# File 'lib/do_postgres.rb', line 27

def character_set
  # JDBC API does not provide an easy way to get the current character set
  # For now, we code the character_set used as utf8
  "utf8"
end