zdennis/activerecord-import — pull request #132 by huned (2014-03-06 18:45:56+00:00)
Title: add jdbcpostgresql support

Added jdbcpostgresql support by cloning the jdbcmysql setup.

```
[10:43:07] huned@snitch:activerecord-import $ bundle exec rake test:jdbcpostgresql
Your Gemfile lists the gem ruby-debug (= 0.10.4) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of just one of them later.
file:/Users/huned/.rbenv/versions/jruby-9000-dev/lib/jruby.jar!/jruby/kernel/kernel.rb:25 warning: unsupported exec option: close_others
-- create_table(:schema_info, {:force=>true})
-> 0.1240s
-- create_table(:group, {:force=>true})
-> 0.0060s
-- create_table(:topics, {:force=>true})
-> 0.0080s
-- create_table(:projects, {:force=>true})
-> 0.0070s
-- create_table(:developers, {:force=>true})
-> 0.0060s
-- create_table(:addresses, {:force=>true})
-> 0.0070s
-- create_table(:teams, {:force=>true})
-> 0.0060s
-- create_table(:books, {:force=>true})
-> 0.0090s
-- create_table(:languages, {:force=>true})
-> 0.0060s
-- create_table(:shopping_carts, {:force=>true})
-> 0.0060s
-- create_table(:cart_items, {:force=>true})
-> 0.0060s
-- add_index(:cart_items, [:shopping_cart_id, :book_id], {:unique=>true, :name=>"uk_shopping_cart_books"})
-> 0.0080s
-> 0 rows
-- create_table(:animals, {:force=>true})
-> 0.0070s
-- add_index(:animals, [:name], {:unique=>true, :name=>"uk_animals"})
-> 0.0040s
-> 0 rows
-- create_table(:widgets, {:id=>false, :force=>true})
-> 0.0050s
Run options:

# Running tests:

.................[deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message.
...........................................

Finished tests in 0.933000s, 64.3087 tests/s, 144.6945 assertions/s.

60 tests, 135 assertions, 0 failures, 0 errors, 0 skips

ruby -v: jruby 9000.dev (2.1.0.dev) 2014-03-05 f8f16cc on Java HotSpot(TM) 64-Bit Server VM 1.7.0_51-b13 [darwin-x86_64]
[10:43:35] huned@snitch:activerecord-import $
```