[Interest] SQL databases and threading

Konstantin Shegunov kshegunov at gmail.com
Fri Oct 12 08:52:25 CEST 2018


Hello,
Is there any way to tell (besides looking at the sources) if a given SQL
plugin, or single methods of it, is reentrant/thread safe? The docs are
rather evasive on the issue ...
What would be allowed to do if I want to thread the SQL queries? Can I
serialize the exec/prepare and then pull the resultset in another thread?
Ideally I would like to process the results in a thread if possible, even
if I have to serialize the exec.

Currently I'm working with the PQSQL driver, but general answers are
acceptable as well.

Thanks in advance.
Kind regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20181012/9ef0b365/attachment.html>


More information about the Interest mailing list