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

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Re: [COMMITTERS] pgsql: Implement current_query(), that shows the currently executing
Дата
Msg-id 20080404191106.GH12346@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: [COMMITTERS] pgsql: Implement current_query(), that shows the currently executing  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: Re: [COMMITTERS] pgsql: Implement current_query(), that shows the currently executing  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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.


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Implement current_query(), that shows the currently executing
Следующее
От: Aidan Van Dyk
Дата:
Сообщение: Re: modules