Function name variable within a non-trigger function - Mailing list pgsql-general

From Berend Tober
Subject Function name variable within a non-trigger function
Date
Msg-id 4385DFD3.6010604@seaworthysys.com
Whole thread Raw
Responses Re: Function name variable within a non-trigger function
List pgsql-general
I know that within a trigger function the functin name can be referenced
by the special variable TG_NAME, so I could include raise an exception
that identified its source with a line like:

      RAISE EXCEPTION ''ERROR IN %'', TG_NAME;

Is there a similar set of special variables defined for "normal", i.e.,
non-trigger functions, too?



pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Errors with temporary tables
Next
From: Adam Witney
Date:
Subject: Re: "invalid page header in block 597621 of relation..."error