Exception 0xC0000005 on pg_restore with 9.4.1 at "copy from", works on 9.3.*

Started by Jean-Pierre Pelletierabout 11 years ago2 messagesbugs
Jump to latest
#1Jean-Pierre Pelletier
jppelletier@e-djuster.ca

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

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Jean-Pierre Pelletier (#1)
Re: Exception 0xC0000005 on pg_restore with 9.4.1 at "copy from", works on 9.3.*

Jean-Pierre Pelletier <jppelletier@e-djuster.ca> writes:

This test case breaks "copy from" on 9.4.1 on Windows 7 & 8.1:

Fails on other platforms, too :-(. Will fix, thanks for report!

regards, tom lane

--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs