From d0558bed36d1691e9228bf157bb106cef0652fb0 Mon Sep 17 00:00:00 2001 From: Michael Hoennig Date: Fri, 13 Sep 2024 08:32:10 +0200 Subject: [PATCH] basis.currentTask() --- src/main/resources/db/changelog/0-basis/010-context.sql | 2 +- src/main/resources/db/changelog/0-basis/020-audit-log.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/db/changelog/0-basis/010-context.sql b/src/main/resources/db/changelog/0-basis/010-context.sql index c770d7fd..c27330cc 100644 --- a/src/main/resources/db/changelog/0-basis/010-context.sql +++ b/src/main/resources/db/changelog/0-basis/010-context.sql @@ -58,7 +58,7 @@ end; $$; Returns the current task as set by `hsadminng.currentTask`. Raises exception if not set. */ -create or replace function currentTask() +create or replace function basis.currentTask() returns varchar(127) stable -- leakproof language plpgsql as $$ diff --git a/src/main/resources/db/changelog/0-basis/020-audit-log.sql b/src/main/resources/db/changelog/0-basis/020-audit-log.sql index b2679dd8..8bd319e0 100644 --- a/src/main/resources/db/changelog/0-basis/020-audit-log.sql +++ b/src/main/resources/db/changelog/0-basis/020-audit-log.sql @@ -78,7 +78,7 @@ declare curTask text; curTxId xid8; begin - curTask := currentTask(); + curTask := basis.currentTask(); curTxId := pg_current_xact_id(); insert