Is there a way to get the name of the calling function in pgplsql?

From: Thiemo Kellner <thiemo(at)gelassene-pferde(dot)biz>
To: pgsql-general <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Is there a way to get the name of the calling function in pgplsql?
Date: 2018-03-21 07:24:27
Message-ID: 20180321082427.19543rplu8pmc0ow@www.gelassene-pferde.biz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi all

In a function I would like to log the caller. Is there a way to get
its name in pgplsql?

Kind regards

Thiemo

--
Öffentlicher PGP-Schlüssel:
http://pgp.mit.edu/pks/lookup?op=get&search=0x8F70EFD2D972CBEF

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Durumdara 2018-03-21 09:41:49 Re: Restore - disable triggers - when they fired?
Previous Message Pavel Stehule 2018-03-21 07:15:03 Re: Is there a way to get the name of the calling function in pgplsql?