statement was expected to fail with error code 40002, error message INSERT INTO: FOREIGN KEY constraint 'c.c_b_fkey' violated
40002!INSERT INTO: FOREIGN KEY constraint 'c.c_a_fkey' violated
query started on line 17 of file wrong-key-error.Bug-6982.test
query text:
insert into c (a, b) values (1, 2)