Re: Tuning queries inside a function

From: Mike Nolan <nolan(at)gw(dot)tssi(dot)com>
To: jd(at)commandprompt(dot)com (Joshua D(dot) Drake)
Cc: alvherre(at)dcc(dot)uchile(dot)cl (Alvaro Herrera), pgsql-general(at)postgresql(dot)org (pgsql general list)
Subject: Re: Tuning queries inside a function
Date: 2005-04-29 23:55:42
Message-ID: 200504292355.j3TNtgd1008402@gw.tssi.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> select * from foo('bar','debug')

But how do I do that inside a pl/pgsql function? 'select into' doesn't
seem to work properly.

> I would have to check be able to include a timestamp at the beginning
> of each notice.

You can do that from the config file, but it only gives the time to the
nearest second, which may not be a fine enough time interval.
--
Mike Nolan

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message mmiranda 2005-04-30 01:20:19 the eternal tunnig question
Previous Message Joe Lester 2005-04-29 22:11:07 Re: Postgres filling up hard drive with swap files