Project

General

Profile

« Previous | Next » 

Revision 10071

schemas/util.sql: try_create(): also ignore wrong_object_type exceptions thrown when trying to alter a view's columns

View differences:

schemas/util.sql
1147 1147
BEGIN
1148 1148
    EXECUTE sql;
1149 1149
EXCEPTION
1150
    WHEN wrong_object_type THEN NULL; -- trying to alter a view's columns
1150 1151
    WHEN undefined_column THEN NULL;
1151 1152
    WHEN duplicate_column THEN NULL;
1152 1153
END;

Also available in: Unified diff