[SQL] search path within trigger

2007-06-09 Thread chester c young
within a table pl/pgsql trigger, what's the easiest way to see if the
schema for the triggered table is the same as search_path?


   

Be a better Globetrotter. Get better travel answers from someone who knows. 
Yahoo! Answers - Check it out.
http://answers.yahoo.com/dir/?link=list&sid=396545469

---(end of broadcast)---
TIP 6: explain analyze is your friend


Re: [SQL] search path within trigger

2007-06-09 Thread Shoaib Mir

Did you try 'select current_schema' ?

--
Shoaib Mir
EnterpriseDB (www.enterprisedb.com)

On 6/9/07, chester c young <[EMAIL PROTECTED]> wrote:


within a table pl/pgsql trigger, what's the easiest way to see if the
schema for the triggered table is the same as search_path?





Be a better Globetrotter. Get better travel answers from someone who
knows. Yahoo! Answers - Check it out.
http://answers.yahoo.com/dir/?link=list&sid=396545469

---(end of broadcast)---
TIP 6: explain analyze is your friend