Hi,
This test case breaks "copy from" on 9.4.1 on Windows 7 & 8.1:
create function my_check_function(varchar) returns boolean as $$ begin
return true; end; $$ language plpgsql immutable;
create table my_table (my_column integer);
alter table my_table add constraint my_check_constraint
check(my_check_function(my_table::varchar));
copy (select 1) to 'c:\aaa\my_datafile1';
copy my_table from 'c:\aaa\my_datafile1'; -- Exception 0xC0000005
Jean-Pierre Pelletier