Re: [GENERAL] how to use COPY within plperl

Поиск
Список
Период
Сортировка
От Marek Lewczuk
Тема Re: [GENERAL] how to use COPY within plperl
Дата
Msg-id 418FC58E.1000404@lewczuk.com
обсуждение исходный текст
Список pgsql-sql
Goutam Paruchuri wrote:
> Why can you not use simple insert statements (sql insert).
> Copy is meant to transfer large amount of data from text files to
> databases and vice versa.
"Insert" is much slower if there are many (hundreds, thousands) data to
be inserted - and in my case there will be thousands of inserts made by
plperl. I can make a file with the data (and load using COPY), but it
would be better to use copy from stdin.

Thanks

ML



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

Предыдущее
От: Steven Klassen
Дата:
Сообщение: Re: Hi
Следующее
От: Kyle
Дата:
Сообщение: Job opportunity