Re: performant import of an array

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: performant import of an array
Дата
Msg-id CAFj8pRCFJ0hUk+MkfnnjrQGyCWNy1S1qKF_zJzUmbA-+AmE4iw@mail.gmail.com
обсуждение исходный текст
Ответ на performant import of an array  ("Janek Sendrowski" <janek12@web.de>)
Список pgsql-general
Hello

import data to auxiliary table, and then use a ARRAY(subselect) or array_agg function to transformation from table to array.

Regards

Pavel


2013/8/23 Janek Sendrowski <janek12@web.de>
Hi,

I have an array and I want to import the data rowwise.

Would it make sense to use a function which calls a prepared statement in a loop to import the data performant?

Or can I somehow use the COPY FROM command?
 
Janek Sendrowski


--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

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

Предыдущее
От: "Janek Sendrowski"
Дата:
Сообщение: performant import of an array
Следующее
От: Arjen Nienhuis
Дата:
Сообщение: Re: numeric to ipv6 inet