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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] postgresql bulk loading is erroring out if the DB is on remote server.

I am trying to load a txt file on my Desktop into a remote DB server. It is erroring out with following messege.
"org.postgresql.util.PSQLException: ERROR: could not open file "E:/projects/Talend/clients.txt" for reading: No such file or directory".
It works if i copy the file manually to the remote server and provide the path it works.
Can postgres bulkload operations work with file located on the Client machine (Where Talend is installed) & the DB is on a different server?
Thanks
Srinivas
Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Hi sbethi, you are correct ... bulkloading is available only when the bulkload file resides on the same server as the db.

View solution in original post

4 Replies
Anonymous
Not applicable
Author

Hello
Can postgres bulkload operations work with file located on the Client machine (Where Talend is installed) & the DB is on a different server?

The file must exist on the server, so now you can use a ftp componnet to put the file to server first. eg:
tFileInputDelimited--->tPostgresOutputBulk
|
onsubjobok
|
tFtpPut
|
onSubjobok
|
tPostgreOutputBulkExec
Best regards
shong
Anonymous
Not applicable
Author

I tried the above solution earlier & it worked for me. Looks like there is no bulk load component to load the file from client directly.
Srinivas
Anonymous
Not applicable
Author

Hi sbethi, you are correct ... bulkloading is available only when the bulkload file resides on the same server as the db.
Anonymous
Not applicable
Author

Thank you.