basis.currentTask()
This commit is contained in:
parent
c2e8be096c
commit
d0558bed36
@ -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