Re: Determine the name of the calling function

From: Casey Allen Shobe <casey(at)shobe(dot)info>
To: PGSQL-Novice <pgsql-novice(at)postgresql(dot)org>
Cc: Jack Kaufman <jack(dot)kaufman(at)sanmina(dot)com>
Subject: Re: Determine the name of the calling function
Date: 2013-01-18 22:34:56
Message-ID: CAFmVg3jRNG=VF2TTSnXiVDz86hHYL5XPcPTJd_v4o-x9dipEOw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On Fri, Jan 18, 2013 at 12:12 PM, Daniel Staal <DStaal(at)usa(dot)net> wrote:

> Just a question, as I'm not entirely sure of the answer myself, but would
> it be possible in another one of the languages Postgres supports? This
> sounds like a language feature to me, and I know Perl's 'caller' function
> would do this for instance, the question is if it would be fully functional
> in pgPerl.
>

I believe I tried that before and the issue is basically that pl/Perl does
not have any visibility outside of the function. database functions <>
perl functions.

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Tom Lane 2013-01-18 22:38:19 Re: Determine the name of the calling function
Previous Message Jack Kaufman 2013-01-18 21:04:43 Re: Determine the name of the calling function