# File lib/dbd_pg/Pg.rb, line 244 def [](attr) case attr when 'pg_client_encoding' @connection.client_encoding else @attr[attr] end end