BEGIN;
-- binary_copy should copy data binary from country;
-- ./spec/binary_copy_spec.rb:8;
CREATE EXTENSION country;
CREATE TABLE before (a country);
INSERT INTO before values ('de'),('us'),('es'),(NULL),('de'),('zz');
CREATE TABLE after (a country);
COPY before TO '/tmp/tst' WITH (FORMAT binary);
COPY after FROM '/tmp/tst' WITH (FORMAT binary);
SELECT * FROM after;
ROLLBACK;
