Top Level Namespace

Defined Under Namespace

Modules: RDO

Instance Method Summary collapse

Instance Method Details

#bigdecimalObject

RDO PostgreSQL driver. Copyright © 2012 Chris Corbyn.

See LICENSE file for details.



8
# File 'lib/rdo/postgres/array/numeric.rb', line 8

require "bigdecimal"

#config_value(type) ⇒ Object



9
10
11
# File 'ext/rdo_postgres/extconf.rb', line 9

def config_value(type)
  IO.popen("pg_config --#{type}").readline.chomp rescue nil
end

#have_build_envObject



13
14
15
16
17
18
19
# File 'ext/rdo_postgres/extconf.rb', line 13

def have_build_env
  [
    have_library("pq") || have_library("libpq"),
    have_header("libpq-fe.h"),
    have_header("postgres.h")
  ].all?
end

#rdoObject

RDO PostgreSQL driver. Copyright © 2012 Chris Corbyn.

See LICENSE file for details.



8
# File 'lib/rdo/postgres.rb', line 8

require "rdo"