Re: dbsize

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: dbsize
Дата
Msg-id 25655.1041013585@sss.pgh.pa.us
обсуждение исходный текст
Ответ на dbsize  (Andreas Schmitz <a.schmitz@cityweb.de>)
Ответы Re: dbsize  (Andreas Schmitz <a.schmitz@cityweb.de>)
Список pgsql-admin
Andreas Schmitz <a.schmitz@cityweb.de> writes:
> I don't know if dbsize a part of the admin business here. I couln't find any
> contact infos in the README or the source. I have a 7.3 on solaris 8. When I
> try to execute "SELECT database_size('newsdb');" I get the following error
> message:

> ERROR:  MemoryContextAlloc: invalid request size 1684144132

Hm.  I cannot see anything wrong with the source code for database_size.
I notice though that it depends on vsnprintf, which is known to be buggy
in some releases of Solaris.  Did you use the patch suggested in the
last entry of doc/FAQ_Solaris?

> This started to happen when I increased memory sizes in the postgresql.conf.

From what, to what?

            regards, tom lane

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

Предыдущее
От: "Campano, Troy"
Дата:
Сообщение: Re: dbsize
Следующее
От: Ray Ontko
Дата:
Сообщение: now() and ::date