basis.currentTask()

This commit is contained in:
Michael Hoennig 2024-09-13 08:32:10 +02:00
parent 90d3db1e3e
commit a4c2cd3edd
2 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@ end; $$;
Returns the current task as set by `hsadminng.currentTask`. Returns the current task as set by `hsadminng.currentTask`.
Raises exception if not set. Raises exception if not set.
*/ */
create or replace function currentTask() create or replace function basis.currentTask()
returns varchar(127) returns varchar(127)
stable -- leakproof stable -- leakproof
language plpgsql as $$ language plpgsql as $$

View File

@ -78,7 +78,7 @@ declare
curTask text; curTask text;
curTxId xid8; curTxId xid8;
begin begin
curTask := currentTask(); curTask := basis.currentTask();
curTxId := pg_current_xact_id(); curTxId := pg_current_xact_id();
insert insert