title: Get the name of the calling procedure or function in Oracle PL/SQL
body: <p>Does anyone know whether it's possible for a PL/SQL procedure (an error-logging one in this case) to get the name of the function/procedure which called it?</p>
  
  <p>Obviously I could pass the name in as a parameter, but it'd be nice to make a system call or something to get the info - it could just return null or something if it wasn't called from a procedure/function.</p>
  
  <p>If there's no method for this that's fine - just curious if it's possible (searches yield nothing).</p>