Re: COPY formatting

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: COPY formatting
Дата
Msg-id 25415.1079539358@sss.pgh.pa.us
обсуждение исходный текст
Ответ на COPY formatting  (Karel Zak <zakkr@zf.jcu.cz>)
Ответы Re: COPY formatting  (Fernando Nasser <fnasser@redhat.com>)
Re: COPY formatting  (Karel Zak <zakkr@zf.jcu.cz>)
Список pgsql-hackers
Karel Zak <zakkr@zf.jcu.cz> writes:
>  The formatting function API can be pretty simple:
>  text *my_copy_format(text *attrdata, int direction, 
>              int nattrs, int attr, oid attrtype, oid relation)

This seems like it could only reasonably be implemented as a C function.
I can't really imagine the average user of COPY wanting to write C in
preference to, say, an external perl script.  What's the real use-case
for the feature?
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Fernando Nasser
Дата:
Сообщение: Re: COPY formatting
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: COPY formatting