> >> For that you would have to use "any", at the moment. This would give
> >> you the same amount of type safety you have with "opaque",
> ie, none.
>
> > I would have to use some pg_proc magic to make "any" appear there,
> > since the plan was to not make it visible at the sql level, no ?
>
> Huh? It'll be perfectly visible.
I did not mean visible, I meant useable, like in
create function xx(any) returns text ...;
If that is possible, what is the difference to opaque ?
Andreas