Re: pgmonitor patch for query string - Mailing list pgsql-hackers

From The Hermit Hacker
Subject Re: pgmonitor patch for query string
Date
Msg-id Pine.BSF.4.33.0103141355450.67623-100000@mobile.hub.org
Whole thread Raw
In response to pgmonitor patch for query string  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: pgmonitor patch for query string  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
not with me it isn't ... it doesn't fix a bug, it doesn't go in ... save
it for after v7.1 is released ...


On Wed, 14 Mar 2001, Bruce Momjian wrote:

> I would like to apply the following patch to the CVS tree.  It allows
> pgmonitor to show query strings even if the backend is not compiled with
> debug symbols.
>
> It does this by creating a global variable 'debug_query_string' and
> assigning it when the query begins and clearing it when the query ends.
> It needs to be a global symbol so gdb can find it without debug symbols.
>
> Seems like a very safe patch, and it allows pgmonitor to be much more
> useful until we get a shared memory solution in 7.2.
>
> Is this OK with everyone?
>
> --
>   Bruce Momjian                        |  http://candle.pha.pa.us
>   pgman@candle.pha.pa.us               |  (610) 853-3000
>   +  If your life is a hard drive,     |  830 Blythe Avenue
>   +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026
>

Marc G. Fournier                   ICQ#7615664               IRC Nick: Scrappy
Systems Administrator @ hub.org
primary: scrappy@hub.org           secondary: scrappy@{freebsd|postgresql}.org



pgsql-hackers by date:

Previous
From: Jim Mercer
Date:
Subject: Re: Re: Week number
Next
From: Peter Eisentraut
Date:
Subject: Re: Re: Week number