drop function if exists staging2.fn_dummy; CREATE OR REPLACE FUNCTION staging2.fn_dummy() RETURNS void AS $$ begin select f1_modified='Test equipment’s used' from transactional.source_config; end $$ LANGUAGE plpgsql;