SQLite2 is not thread safe. Batch insert cannot be enabled when using
SQLite2
- On most systems, PostgreSQL and SQLite3 are thread safe.
+ On most systems, MySQL, PostgreSQL and SQLite3 are thread safe.
To verify that your PostgreSQL is thread safe, you can try this
(change the path to point to your particular installed libpq.a;
\end{verbatim}
The above example shows a libpq that contains the required function
- PQputCopyData and is thread enabled (i.e. the pthread_mutex* entries).
+ PQputCopyData and is thread enabled (i.e. the pthread\_mutex* entries).
If you do not see PQputCopyData, your version of PostgreSQL is too old
to allow batch insert. If you do not see the mutex entries, then thread
support has not been enabled. Our tests indicate you usually need to