# File ext/do_postgres_ext/extconf.rb, line 20 def pg_config(type) IO.popen("pg_config --#{type}").readline.chomp rescue nil end