Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
prbrganguly
Contributor
Contributor

BLOB Data conversion from Oracle to Postgresql is possible

BLOB Data conversion from Oracle to Postgresql is possible ?

Thanks With Regards

Prabir

prbrganguly@gmail.com

Labels (3)
2 Replies
Anonymous
Not applicable

Hi @prabir kumar​ 

There is no Blob type in Postgresql, however, we can run an insert SQL on tPostgresqlRow and call function lo_import() to load the file to Postgresql, refer to this article.

Read the Blob Data from Oracle and write the file to local system, and then execute the SQL on tPostgresqlRow.

 

You can try and let me know if you have any questions.

 

Regards

Shong

 

Anonymous
Not applicable

Hello @prabir kumar​ ,

Data flow should be:

DbType: BLOB -> Talend (Java) Type: byte[] -> Postgres DbType: bytea

This way the data is read into a bytearray, and can be transported to Postgres.