Re: Columns of pg_stat_activity

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Columns of pg_stat_activity
Дата
Msg-id 20120411212525.GS3379@momjian.us
обсуждение исходный текст
Ответ на Re: Columns of pg_stat_activity  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-hackers
On Wed, Apr 11, 2012 at 11:11:18PM +0200, Magnus Hagander wrote:
> >> > Should we make any of these changes?
> >>
> >> Sounds like a lot of potential breakage to solve something I don't
> >> think is a problem.  Besides, isn't the door for 9.2 changes now
> >> closed and bolted?
> >
> > Well, we renamed procpid -> pid and I noticed these others.  Not sure if
> > it is a win or not, but just asking.
> 
> We also renamed current_query -> query, but that was mainly because it
> actually changed meaning.
> 
> But. Since we already whacked around procpid->pid, yes, if we're ever
> going to change those, now is the time, really.
> 
> I think at least backend_start -> session_start would make sense.
> 
> Not sure about the other one - what's wrong with query_start?

We consistently use "statement" for commands, not "queries", because
some feel query means SELECT.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + It's impossible for everything to be true. +


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Columns of pg_stat_activity
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Columns of pg_stat_activity