Project

General

Profile

« Previous | Next » 

Revision 12684

schemas/util.sql: try_create(): also handle "child table is missing column" errors

View differences:

trunk/schemas/util.sql
3801 3801
	OR undefined_column
3802 3802
	OR duplicate_column
3803 3803
THEN NULL;
3804
WHEN datatype_mismatch THEN
3805
	IF SQLERRM LIKE 'child table is missing column %' THEN NULL;
3806
	ELSE RAISE; -- rethrow
3807
	END IF;
3804 3808
END;
3805 3809
$$;
3806 3810

  

Also available in: Unified diff