Re: [GENERAL] contrib/dbsize

2005-04-05 Thread Michael Fuhr
On Tue, Apr 05, 2005 at 01:43:56PM -0400, Joseph Shraibman wrote: > > Can I take the new .c file, do a make install, and have it work in 7.4.7 ? Not unmodified, since it uses features new to 8.0 (e.g., tablespaces). -- Michael Fuhr http://www.fuhr.org/~mfuhr/ ---(end of

Re: [GENERAL] contrib/dbsize

2005-04-05 Thread Joseph Shraibman
Can I take the new .c file, do a make install, and have it work in 7.4.7 ? Michael Fuhr wrote: On Tue, Apr 05, 2005 at 01:25:01PM -0400, Joseph Shraibman wrote: local]:o=>select version(); version --

Re: [GENERAL] contrib/dbsize

2005-04-05 Thread Michael Fuhr
On Tue, Apr 05, 2005 at 01:25:01PM -0400, Joseph Shraibman wrote: > local]:o=>select version(); > version > - > PostgreSQL 7.4.7 on i686-pc-linux

Re: [GENERAL] contrib/dbsize

2005-04-05 Thread Joseph Shraibman
local]:o=>select version(); version - PostgreSQL 7.4.7 on i686-pc-linux-gnu, compiled by GCC gcc (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5) (1

Re: [GENERAL] contrib/dbsize

2005-04-05 Thread Michael Fuhr
On Tue, Apr 05, 2005 at 12:24:02PM -0400, Joseph Shraibman wrote: > > How come relation_size() doesn't work on an index? Could you define "doesn't work"? An example with the expected and actual output might show what's happening. I just ran some simple tests and relation_size() correctly showed