broken contrib/dbsize in cvs head?

Lists: pgsql-bugs
From: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
To: PostgreSQL Bugs List <pgsql-bugs(at)postgresql(dot)org>
Subject: broken contrib/dbsize in cvs head?
Date: 2004-08-11 14:05:59
Message-ID: Pine.LNX.4.58.0408111603320.1998@sablons.cri.ensmp.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs


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.

--
Fabien Coelho - coelho(at)cri(dot)ensmp(dot)fr


From: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
To: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
Cc: PostgreSQL Bugs List <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: broken contrib/dbsize in cvs head?
Date: 2004-08-11 14:29:03
Message-ID: Pine.LNX.4.58.0408111627450.1998@sablons.cri.ensmp.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs


> > 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.

Ok. I must admit that I did not pay attention to the unapplied patches
queue.

Thanks,

--
Fabien Coelho - coelho(at)cri(dot)ensmp(dot)fr


From: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
To: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
Cc: PostgreSQL Bugs List <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: broken contrib/dbsize in cvs head?
Date: 2004-08-11 16:21:49
Message-ID: 411A479D.6010608@pse-consulting.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: 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