Re: COPY does not work with regproc and aclitem

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: COPY does not work with regproc and aclitem
Дата
Msg-id 28188.1161635221@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: COPY does not work with regproc and aclitem  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: COPY does not work with regproc and aclitem
Следующее
От: Zdenek Kotala
Дата:
Сообщение: Re: COPY does not work with regproc and aclitem