As detailed in the email to pgsql-hackers, this patch alters the second
argument of the type input functions so that for base types it passes
the oid, just as for composite types. For all cases where the oid is
currently non-zero (composite and array types) it remains unchanged.
http://archives.postgresql.org/pgsql-hackers/2005-08/msg00331.php
This basically came about because currently there is no easy way for an
input function to determine what type it's supposed to return.
Have a nice day,
--
Martijn van Oosterhout <kleptog@svana.org> http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.