Re: Functions with COPY

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Functions with COPY
Дата
Msg-id 29060.1070041669@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Functions with COPY  (Stephen Frost <sfrost@snowman.net>)
Ответы Re: Functions with COPY
Список pgsql-hackers
Stephen Frost <sfrost@snowman.net> writes:
> No, I'm interested, as I discussed in my message[1], in the ability to
> use functions in a copy statement to allow me to specify the conversion
> from text to the appropriate data type.

COPY is not intended to be that flexible; it's intended to be fast.
You can do any amount of processing you want in an INSERT statement,
though.

INSERT INTO mytable VALUES (mydatefunc('2001/01/03'), ... );
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: -fpic vs. -fPIC
Следующее
От: "Marc G. Fournier"
Дата:
Сообщение: Re: about explain analyze