Chapman Flack <chap(at)anastigmatix(dot)net> writes:
> I'm in the same boat ... I have an input function I want to test, and so
> far I have failed to think of *any* sql construct that causes it to be
> invoked with other than -1 for the typmod.
COPY was the first case a quick grep came across.
regards, tom lane