You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First, thanks for your greate work! I must deal with a pgsql batch copy but I need to use converters from CSV for hash for examples. I see that you use File.open why not use CSV.open? Is it faster with File.open?
(I use v 0.6 because I'm in rails 3.2)
Yes, I use the File.open to leave all CSV parsing to the PostgreSQL server. You can transform data passing a block to pg_copy_from and altering the variable that will be yielded with the values.
Hi,
First, thanks for your greate work! I must deal with a pgsql batch copy but I need to use converters from CSV for hash for examples. I see that you use File.open why not use CSV.open? Is it faster with File.open?
(I use v 0.6 because I'm in rails 3.2)
I need to do this trick for example :
The text was updated successfully, but these errors were encountered: