Skip to content

Instantly share code, notes, and snippets.

nobilik

Block or report user

Report or block nobilik

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View install drivers asus USB-N13 tp link WN823 ubuntu 16.04
View pg_copy.rb
def self.bulk_import(data, table_name, field_list, options={})
with = options[:with] ? " WITH #{options[:with]}" : ''
self.with_connection(options[:connection]) do |c|
#this is in a transaction...
conn = c.raw_connection
conn.set_error_verbosity(PG::PQERRORS_VERBOSE)
#conn.transaction do
cleaned_up_field_list = field_list.map { |f|
You can’t perform that action at this time.