Postgresql bulk import copy

Postgresql bulk import copy

Hi !
We are trying to import data from a file with the postgresql bulk component.
It fails because the copy command need superuser privilege (on postgresql). Does someone know how this command has been implemented ? There is indeed the copy command as OS command and the copy statement as psql statement. I think that the plugin uses the OS one and if it is so does anybody know why ?
From postgresql side :
psql
#\copy ...........
does not require superuser privilege but only GRANT INSERT on the table to wirte in.
Is there another way to bulk import respecting basic security policies ?
Thanks for you help
Regard

Re: Postgresql bulk import copy

You can find following screenshots :
? job Talend using bulk component :
o tpostgresqlOuputBulk : generate file
o tpostgresqlOuputBulkExec : integrate file
? properties of the component
Regards

Calling Talend Open Studio Users

The first 100 community members completing the Open Studio survey win a $10 gift voucher.

Start the survey

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Downloads and Trials

Test drive Talend's enterprise products.

Downloads