Re: broken contrib/dbsize in cvs head? - Mailing list pgsql-bugs

From Andreas Pflug
Subject Re: broken contrib/dbsize in cvs head?
Date
Msg-id 411A479D.6010608@pse-consulting.de
Whole thread Raw
In response to broken contrib/dbsize in cvs head?  (Fabien COELHO <coelho@cri.ensmp.fr>)
Responses Re: broken contrib/dbsize in cvs head?
List pgsql-bugs
Fabien COELHO wrote:
> contrib/dbsize> make
> gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
> -Wmissing-declarations -fpic -I. -I../../src/include -D_GNU_SOURCE   -c -o
> dbsize.o dbsize.c
> dbsize.c: In function `database_size':
> dbsize.c:58: error: too few arguments to function `GetDatabasePath'
> make: *** [dbsize.o] Error 1
>
> It seems that GetDatabasePath was updated, but not all its callers were
> fixed.

This is a known issue; there's a patch in pgsql-patches fixing this very
issue while still not tablespace-aware for tables, and another patch
proposing new functions which offer tablespace size as well.

Regards,
Andreas

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: 8.0.0beta1: make check fails on solaris8
Next
From: Fabien COELHO
Date:
Subject: Re: broken contrib/dbsize in cvs head?