Zdenek Kotala <Zdenek.Kotala@Sun.COM> writes:
>    if( donot_resolve_procname == TRUE)
>    {
>       result = (char *) palloc(NAMEDATALEN);
>       snprintf(result, NAMEDATALEN, "%u", proid);
>    }
What for?  If you want numeric OIDs you can have that today by casting
the column to OID.  More to the point, the issue is hardly restricted
to COPY --- you'd get the same thing if you tried to insert data with
INSERT.
        regards, tom lane