Re: pg_avd - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: pg_avd
Date
Msg-id 200302192137.h1JLboC14021@candle.pha.pa.us
Whole thread Raw
In response to Re: pg_avd  ("Matthew T. O'Connor" <matthew@zeut.net>)
List pgsql-patches
Matthew T. O'Connor wrote:
> I don't think pg_avd is contorted, but it is limited to the data
> published by the stats system, so there is no FSM etc...
>
> I also think it would probably be better in the backend, I just wasn't
> sure if the additional complexity was worth it.  The primary advantage
> of a client side implementation is simplicity.
>
> That said, I originally tried to do this in the backend, but found the
> task too daunting for me and gave up.  When Shridhar started some work
> on a client side version I decided to run with that and see how far I
> could get.
>
> Question:  Should I keep working on pg_avd for contrib inclusion in 7.4,
> or should I try again on a backend implementation that might be less
> likely to get into 7.4?

Well, one idea would be to write a loadable function that dumps out FSM
information --- then you could improve your implementation and
eventually put it in the backend.  I would like to have something for
7.4.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-patches by date:

Previous
From: Neil Conway
Date:
Subject: Re: implement query_start for pg_stat_activity
Next
From: "Magnus Naeslund(f)"
Date:
Subject: Re: pg_avd