Exception 0xC0000005 on pg_restore with 9.4.1 at "copy from",works on 9.3.* - Mailing list pgsql-bugs

From Jean-Pierre Pelletier
Subject Exception 0xC0000005 on pg_restore with 9.4.1 at "copy from",works on 9.3.*
Date
Msg-id CAJF2B_0Rp9DiU+8Q67G3kKcQts4Pw_Jmmeh329mAx258CGz6iw@mail.gmail.com
Whole thread Raw
Responses Re: Exception 0xC0000005 on pg_restore with 9.4.1 at "copy from",works on 9.3.*  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
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

pgsql-bugs by date:

Previous
From: jd@ods.org
Date:
Subject: BUG #12772: Unexpected autovacuum behavior
Next
From: Tom Lane
Date:
Subject: Re: Exception 0xC0000005 on pg_restore with 9.4.1 at "copy from",works on 9.3.*