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

From: Jean-Pierre Pelletier <jppelletier(at)e-djuster(dot)ca>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Exception 0xC0000005 on pg_restore with 9.4.1 at "copy from", works on 9.3.*
Date: 2015-02-16 02:48:51
Message-ID: CAJF2B_0Rp9DiU+8Q67G3kKcQts4Pw_Jmmeh329mAx258CGz6iw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2015-02-16 03:12:49 Re: Exception 0xC0000005 on pg_restore with 9.4.1 at "copy from", works on 9.3.*
Previous Message Arne Scheffer 2015-02-15 16:34:50 Re: BUG #12769: SSL-Renegotiation failures