casting & type comments - Mailing list pgsql-hackers

From Brett McCormick
Subject casting & type comments
Date
Msg-id 13576.55860.995875.806250@abraxas.scene.com
Whole thread Raw
Responses Re: [HACKERS] casting & type comments
Re: [HACKERS] casting & type comments
List pgsql-hackers
What do you all think about the fact that cast(anytype as varchar)
results in a call to a procedure that is not creatable with 'create
function'?  Perhaps we should re-think our casting implementation,
maybe one that isn't based on just rewriting itself into a function
call :) If I wanted to call a function, I would :)

I can, however, do a create function with a different name, then
update that to varchar.  the reason I can't, of course, is because the
grammar expects varchar(number), not varchar(argument types)..

there was probably a much better way of saying all that :)

pgsql-hackers by date:

Previous
From: "Vadim B. Mikheev"
Date:
Subject: Re: [HACKERS] PL/pgSQL - for discussion
Next
From: jwieck@debis.com (Jan Wieck)
Date:
Subject: Re: [HACKERS] PL/pgSQL - for discussion