Project

General

Profile

« Previous | Next » 

Revision 8152

schemas/functions.sql: rename_if_exists(): Also ignore duplicate_column exceptions, which are generated when a column is renamed to itself (as well as when two columns are renamed to the same place)

View differences:

schemas/functions.sql
740 740
    EXECUTE sql;
741 741
EXCEPTION
742 742
    WHEN undefined_column THEN NULL;
743
    WHEN duplicate_column THEN NULL;
743 744
END;
744 745
$$;
745 746

  

Also available in: Unified diff