Radoslav Kirilov 120e6a38d5
feat: environment variables interpolation (#604)
Co-authored-by: Mike Fridman <mf192@icloud.com>
2023-12-23 15:13:19 -05:00

15 lines
330 B
PL/PgSQL

CREATE FUNCTION do_something(sql TEXT) RETURNS INTEGER AS $$
BEGIN
-- initiate technology
PERFORM something_or_other(sql);
-- increase technology
PERFORM some_other_thing(sql);
-- technology was successful
RETURN 1;
END;
$$ LANGUAGE plpgsql;
-- 3 this comment WILL BE preserved
-- 4 this comment WILL BE preserved