Re: [GENERAL] postgres pg_bulkload c filter function in c programming

Поиск
Список
Период
Сортировка
От rajmhn
Тема Re: [GENERAL] postgres pg_bulkload c filter function in c programming
Дата
Msg-id 1483040469424-5936695.post@n3.nabble.com
обсуждение исходный текст
Ответ на Re: [GENERAL] postgres pg_bulkload c filter function in c programming  (Francisco Olarte <folarte@peoplecall.com>)
Ответы Re: [GENERAL] postgres pg_bulkload c filter function in c programming
Список pgsql-general
Thanks Francis.That seems to be a good solution.

Thought to use pg_bulkload, a third party library instead of copy, where
reject handling can be done in efficient way. Transformation(FILTER)
functions can be implemented with any languages in pg_bulkload before it was
loaded to table. SQL, C, PLs are ok, but you should write functions as fast
as possible because they are called many times.

In this case, function should be written in Perl and called inside the
Postgressql function. Do you think that will work it out? But pg_bulkload is
preferring C function over SQL function for performance.

I will try this option as you suggested.

Thanks



--
View this message in context:
http://postgresql.nabble.com/postgres-pg-bulkload-c-filter-function-in-c-programming-tp5936651p5936695.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.


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

Предыдущее
От: Francisco Olarte
Дата:
Сообщение: Re: [GENERAL] postgres pg_bulkload c filter function in c programming
Следующее
От: Francisco Olarte
Дата:
Сообщение: Re: [GENERAL] postgres pg_bulkload c filter function in c programming