Created
January 29, 2021 08:23
-
-
Save seahrh/66434a6396179c931ff81bd708767d7d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE OR REPLACE PROCEDURE sp_update_ddl() | |
AS $$ | |
BEGIN | |
alter table myschema.mytable add column newcolumn bigint; | |
EXCEPTION | |
WHEN OTHERS THEN | |
raise 'exception in filename.sql'; | |
END | |
$$ LANGUAGE plpgsql | |
; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment