Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 0193E475C5F for ; Fri, 27 Dec 2002 13:26:33 -0500 (EST) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id 3CDE04759BD for ; Fri, 27 Dec 2002 13:26:32 -0500 (EST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.6/8.12.6) with ESMTP id gBRIQPd0025656; Fri, 27 Dec 2002 13:26:25 -0500 (EST) To: a.schmitz@cityweb.de Cc: pgsql-admin@postgresql.org Subject: Re: dbsize In-reply-to: <200212271537.19622.a.schmitz@cityweb.de> References: <200212271537.19622.a.schmitz@cityweb.de> Comments: In-reply-to Andreas Schmitz message dated "Fri, 27 Dec 2002 15:37:19 +0100" Date: Fri, 27 Dec 2002 13:26:25 -0500 Message-ID: <25655.1041013585@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200212/312 X-Sequence-Number: 6807 Andreas Schmitz 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.