Created
October 14, 2021 19:24
-
-
Save meanother/f05116d8cb5d51c1e9c8fb9b207f479c to your computer and use it in GitHub Desktop.
This file contains 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 FUNCTION home.banki_hist_insert() | |
RETURNS trigger | |
LANGUAGE plpgsql AS | |
$function$ | |
BEGIN | |
INSERT INTO home.dth_banki_responses | |
(id, link, ... action, valid_from) | |
VALUES | |
(NEW.id, NEW.link, ... 'I', current_timestamp); | |
RETURN NEW; | |
END; | |
$function$; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment