Juan Luis Frances schrieb: > Please, check if this solves your problem: > http://article.gmane.org/gmane.comp.sysutils.backup.bacula.general/20545
I read the article before writing the mail. I thought it was only relevant for psql 8.1+, I'm using 7.4. The dbsize.sql from the postgres contrib package already includes a database_size function. dbsize.sql: CREATE FUNCTION database_size (name) RETURNS bigint AS '$libdir/dbsize', 'database_size' LANGUAGE C WITH (isstrict); CREATE FUNCTION relation_size (text) RETURNS bigint AS '$libdir/dbsize', 'relation_size' LANGUAGE C WITH (isstrict); I did just copy&past this in to the psql command line. After that the numrows error was solved (as I wrote in my first mail), but not the other problems. Ralf ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users