Search Postgresql Archives

Re: Tuning queries inside a function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Mike Nolan wrote:
> >>select * from foo('bar','debug')
> > 
> > 
> > But how do I do that inside a pl/pgsql function?  'select into' doesn't
> > seem to work properly.
> 
> 
> You would have to code it. For example:
> 
> IF $2 = ''debug'' THEN:

That part I get, but I cannot seem to get an 'explain select....' to return
the explain output inside a function.
--
Mike Nolan

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo@xxxxxxxxxxxxxx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux