Re: COPY does not work with regproc and aclitem - Mailing list pgsql-hackers

From Tom Lane
Subject Re: COPY does not work with regproc and aclitem
Date
Msg-id 28188.1161635221@sss.pgh.pa.us
Whole thread Raw
In response to Re: COPY does not work with regproc and aclitem  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
List pgsql-hackers
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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: COPY does not work with regproc and aclitem
Next
From: Zdenek Kotala
Date:
Subject: Re: COPY does not work with regproc and aclitem