#!/usr/bin/env ruby # handle interrupts trap("SIGINT") { abort } require "pgsync" PgSync::Client.start