dbTalk Databases Forums  

[BUGS] broken contrib/dbsize in cvs head?

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] broken contrib/dbsize in cvs head? in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Fabien COELHO
 
Posts: n/a

Default [BUGS] broken contrib/dbsize in cvs head? - 08-11-2004 , 09:13 AM







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

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo (AT) postgresql (DOT) org

Reply With Quote
  #2  
Old   
Andreas Pflug
 
Posts: n/a

Default Re: [BUGS] broken contrib/dbsize in cvs head? - 08-11-2004 , 09:39 AM






Fabien COELHO wrote:
Quote:
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

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster


Reply With Quote
  #3  
Old   
Fabien COELHO
 
Posts: n/a

Default Re: [BUGS] broken contrib/dbsize in cvs head? - 08-11-2004 , 09:43 AM




Quote:
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.fr

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.