
  create table test (
    a integer,
    b integer CHECK (b > 2),
    c text,
    d integer


  );

  insert into test select 1, 2, 'Test', 4;

  create sequence testkey;
  insert into test select nextval('testkey'), 2, 'Text', 4;
  insert into test select nextval('testkey'), 2, 'Long text 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890', 4;

  insert into test select 3, 3, 'Text', 4;
  update test set b = 1;


  drop table test;
  drop sequence testkey;
