Determine active function name ?

PostgreSQL is the database server used to store information. Do you have a question or are you having problem with PostgreSQL? If so, post them here.

Moderator: Moderators

Determine active function name ?

Postby dbnewbie » Tue Jun 12, 2012 12:37 pm

Hi

I need to know any way to determine the current running functions name.

I need to implement a function that need to ensure previous copy of itself
is not active/running before proceeding to run the code, else just exit to
prevent deadlock.

Hence, I need to check whether the current active functions name to compare.

Thank you
dbnewbie
 
Posts: 1
Joined: Tue Jun 12, 2012 12:32 pm

Re: Determine active function name ?

Postby kraada » Tue Jun 12, 2012 1:17 pm

I'm not certain exactly what you are asking - could you elaborate a little more what you are looking for?
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY


Return to PostgreSQL [Read Only]

Who is online

Users browsing this forum: MagPie Crawler and 6 guests

cron
highfalutin