Re: Server instrumentation patch

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Server instrumentation patch
Дата
Msg-id 200506241908.j5OJ8EZ18549@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Server instrumentation patch  ("Dave Page" <dpage@vale-housing.co.uk>)
Список pgsql-hackers
Dave Page wrote:
>  
> 
> > -----Original Message-----
> > From: Michael Paesold [mailto:mpaesold@gmx.at] 
> > Sent: 24 June 2005 17:53
> > To: Dave Page; Andreas Pflug
> > Cc: PostgreSQL-development
> > Subject: Re: [HACKERS] Server instrumentation patch
> > 
> > > My main concern is that the names are inconsistent for no obvious
> > > reason.
> > 
> > That could be fixed by having:
> > pg_database_size(name)
> > pg_database_size(oid)
> > 
> > The original idea was probably to name "internal" functions 
> > with pg_ and 
> > more user friendly ones without pg_. That does not mean it's 
> > a good idea.
> 
> Yes, agreed - it could be fixed that way easily. If the inclusion of
> /all/ functions is for backwards compatibility though, then that change
> is somewhat more of a problem.

We are moving the functions into the backend so if we are going to make
them more consistent, now is the time.  People are already going to not
have to load them from /contrib, so a more consistent API change is fine
at this stage --- it will be much harder later.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


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

Предыдущее
От: "Dave Page"
Дата:
Сообщение: Re: Server instrumentation patch
Следующее
От: "Dave Page"
Дата:
Сообщение: DBSize backend integration