Hi
2018-03-21 8:24 GMT+01:00 Thiemo Kellner <thiemo(at)gelassene-pferde(dot)biz>:
> Hi all
>
> In a function I would like to log the caller. Is there a way to get its
> name in pgplsql?
>
you can read it from stack
https://www.postgresql.org/docs/current/static/plpgsql-control-structures.html#PLPGSQL-CALL-STACK
Regards
Pavel
> 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.
>
>