From 988fcd9dcac9aa98065de03332666aad7c48367c Mon Sep 17 00:00:00 2001 From: dodger Date: Fri, 21 Jan 2022 11:03:03 +0100 Subject: [PATCH] valid until function changed to show additional info --- passchanger.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/passchanger.sql b/passchanger.sql index 5852607..e0a37b4 100644 --- a/passchanger.sql +++ b/passchanger.sql @@ -56,7 +56,7 @@ begin raise exception 'You''re not allowed to run this function directly' using errcode = '22023' -- 22023 = "invalid_parameter_value' , detail = 'Please call dba.change_my_password function.' - , hint = 'Don''t mess with the devil'; + , hint = 'Invoked function: ' || _invokingfunction ; end if; end $BODY$;