Scott Bailey <artacus@comcast.net> writes:
> Specifically, I'm trying to make a function like Oracle's dump that will
> take anything as input and return the internal representation of it. So
> I want to determine what type was passed in and call the appropriate
> send function.
You would need to write that in C.
regards, tom lane