basis.currentTask()
This commit is contained in:
parent
90d3db1e3e
commit
a4c2cd3edd
@ -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 $$
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user