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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
EMeany
Contributor III
Contributor III

Calling Postgres function from tDBRow

Hello, 

 

I am having trouble calling a Postgres function from tDBRow.

 

I can call it successfully from SQL Builder (verified using DBeaver), but the generated query fails to work when used within the tDBRow component.

 

By 'fails' I mean that the expected results are not observed within my DB (I observe no change). However, the Job itself executes without error.

 

Any ideas?

 

Thanks

E

Labels (3)
1 Solution

Accepted Solutions
EMeany
Contributor III
Contributor III
Author

Thank you for the response fdenis.

 

It appears that the SQL Builder defaults to auto-commit, whereas the tDBRow's connection (tDBConnection) does not.  

After selecting the auto-commit checkbox in tDBConnection's advanced tab, the function call works without issue.

 

Thanks again for your time.

E

View solution in original post

2 Replies
fdenis
Master
Master

what is your query.
did you check your db connection? is it the same?
EMeany
Contributor III
Contributor III
Author

Thank you for the response fdenis.

 

It appears that the SQL Builder defaults to auto-commit, whereas the tDBRow's connection (tDBConnection) does not.  

After selecting the auto-commit checkbox in tDBConnection's advanced tab, the function call works without issue.

 

Thanks again for your time.

E