8.1 system info / admin functions

From: Neil Conway <neilc(at)samurai(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: 8.1 system info / admin functions
Date: 2005-09-14 02:17:27
Message-ID: 43278837.3080901@samurai.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Two minor gripes about these new functions:

(1) I think pg_total_relation_size() is a bit more concise and clear
than pg_complete_relation_size().

(2) pg_cancel_backend(), pg_reload_conf(), and pg_rotate_logfile() all
return an int indicating success (1) or failure (0). Why shouldn't these
functions return a boolean?

(Presumably there is a good reason why these functions return a status
code at all, rather than aborting via elog on error -- right?)

-Neil

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2005-09-14 02:26:58 Re: About method of PostgreSQL's Optimizer
Previous Message Neil Conway 2005-09-14 01:34:50 Re: About method of PostgreSQL's Optimizer