Re: Re: [COMMITTERS] pgsql: Implement current_query(), that shows the currently executing

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Re: [COMMITTERS] pgsql: Implement current_query(), that shows the currently executing
Date: 2008-04-04 19:11:06
Message-ID: 20080404191106.GH12346@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Bruce Momjian wrote:
> Alvaro Herrera wrote:

> > I think the agreement was that dblink_current_query was to be
> > implemented on top of this. In fact I don't see any reason not to.
>
> Really? It seemed like just duplicate functionality.

It's called "backwards compatibility". The nice thing about it is that
it doesn't cost us any extra code.

> > Also, wasn't the name supposed to be client_query?
>
> Because pg_stat_activity already has current_query (and no one has
> complained about it) there was discussion to just make it current_query.

I don't think you can call that an agreement. It was just a suggestion
IIRC.

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Magnus Hagander 2008-04-04 21:35:03 Re: pgsql: Remove no-longer-used function assign_backslash_quote()
Previous Message Bruce Momjian 2008-04-04 19:05:05 Re: [COMMITTERS] pgsql: Implement current_query(), that shows the currently executing

Browse pgsql-hackers by date

  From Date Subject
Next Message Aidan Van Dyk 2008-04-04 19:12:23 Re: modules
Previous Message Bruce Momjian 2008-04-04 19:05:05 Re: [COMMITTERS] pgsql: Implement current_query(), that shows the currently executing