Re: Proposal for resolving casting issues - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Proposal for resolving casting issues
Date
Msg-id 11905.1032489690@sss.pgh.pa.us
Whole thread Raw
In response to Re: Proposal for resolving casting issues  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
List pgsql-hackers
"Christopher Kings-Lynne" <chriskl@familyhealth.com.au> writes:
> 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

regression=# select * from pg_proc where proname = 'average';proname | pronamespace | proowner | prolang | proisagg |
prosecdef| proisstrict | proretset | provolatile | pronargs | prorettype | proargtypes | prosrc | probin | proacl
 

---------+--------------+----------+---------+----------+-----------+-------------+-----------+-------------+----------+------------+-------------+--------+--------+--------
(0 rows)


No, I think you'll get the same error ...
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Christopher Kings-Lynne"
Date:
Subject: Re: Proposal for resolving casting issues
Next
From: Tom Lane
Date:
Subject: Re: DROP COLUMN misbehaviour with multiple inheritance