Обсуждение: Exception 0xC0000005 on pg_restore with 9.4.1 at "copy from",works on 9.3.*

Поиск
Список
Период
Сортировка

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

От
Jean-Pierre Pelletier
Дата:
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

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

От
Tom Lane
Дата:
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