Thank you for responding,
I never needed to change any parameter of PostGre server or PgAdmin. So, I don't know them well.
I'm not sure about my PgAdmin version, the 'About' form say 1.20 (?!)
My client_min_messages is like you and my code doesn' modify it.
The result in the messages panel is a little different than you, like that :
NOTICE: Function 1 ...
Yes it is possible. I have tested the following with PG 12.2 and with psql CLI:
create or replace function f2 () returns text
raise notice 'Function 2 is now running';
return 'f2: OK';
create or replace ...
Since you are on 12.2 you can query the alert log directly from SQL using the view V$DIAG_ALERT_EXT.
If you need access to any of the trace files generated they are available using views as well, see V$DIAG_TRACE_FILE and V$DIAG_TRACE_FILE_CONTENTS.
Try to check if statspack is installed (any user name PERFSTAT in the database ?) and if yes if it configured (look for DBMS_JOB in view DBA_JOBS running something like statspack.snap). If yes you could retrieve last week-end activity with script @?/rdbms/admin/spreport.
Statspack does not require Tuning Pack or Diagnostic Pack licences but you should ...
someone has access to the alert log. Try to get access. Maybe they can send it to you. Do you have full rights on that database? If so try to figure out what directory has the alert log. For example "show parameter diag" Take that directory add the following %DIAG%\rdbms\\\trace and create a directory object for that path. Then create a database directory ...
You can inspect V$SQL for statements that don't use binds, eg.
select substr(sql_text,1,80), count(*)
group by substr(sql_text,1,80)
order by count(*) desc
Then inspect the full text of the statements that come on top, see where they differ.