Will the new casting stuff address this kind of annoyance?
usa=# select average(octet_length(val)) from users_sessions;
ERROR: Function 'average(int4)' does not exist Unable to identify a function that satisfies the given argument
types You may need to add explicit typecasts
Chris