Don Y <pgsql(at)DakotaCom(dot)Net> writes:
> I.e., if I have a bunch of functions defined as taking an
> argument of type "foo", is there any way the user can pass
> a value to these functions WITHOUT it going through my
> gatekeepers (foo_in(), foo_from_baz(), etc.)?
No, not if foo is a separate type. Postgres has absolutely no knowledge
of the internal representation of a base type, and will never manipulate
it except through the routines you supply.
regards, tom lane