Re: pgmonitor patch for query string

From: The Hermit Hacker <scrappy(at)hub(dot)org>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: pgmonitor patch for query string
Date: 2001-03-14 17:56:03
Message-ID: Pine.BSF.4.33.0103141355450.67623-100000@mobile.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)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(at)hub(dot)org secondary: scrappy(at){freebsd|postgresql}.org

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2001-03-14 18:00:18 Re: pgmonitor patch for query string
Previous Message Peter Eisentraut 2001-03-14 17:13:32 Re: AW: Shutdown term