Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Bulk Insert to Postrgres bug?

Hello, I am trying to use tPostgresqlOutputBulkExec component for bulk insert to table from csv. When I am trying to run the job, the "org.postgresql.util.PSQLException: ERROR: COPY escape must be a single one-byte character" exception occurs. Escape character has the default value "\\". Somehow talend doesn't understand how is this escaped. Is it a bug or how should I approach it?
Thank you.
Labels (2)
4 Replies
Anonymous
Not applicable
Author

Hi,
Could you please indicate the build version you are using? Have you already checked this document about: https://jira.talendforge.org/browse/TDI-22604?
Best regards
Sabrina
Anonymous
Not applicable
Author

Hello, I am using Version: 6.2.0. So it's probably different bug.
Anonymous
Not applicable
Author

Hi,
Have you checked "standard_conforming_string" in advanced setting of  tPostgresqlOutputBulkExec component? Could you please post your component setting screenshot into forum?
Best regards
Sabrina
Anonymous
Not applicable
Author

Checking "standard_conforming_string" helped. However I found out that this component wants to generate another csv in the location of the DB. Is this the only way bulk insert works? Could data from csv be imported without this additional copying of the file to the db server?
Reference about csv copying:  https://community.talend.com/t5/Design-and-Development/tPostgresqlOutputBulkExec/td-p/112228