Postgresql connection should be accessed by a thread a time
When the option -j is used to enable multiple worker threads, there is a risk of using same connection for the multi-threads and that a transaction is always using the same connection. We need to ensure that the connection is acceded by a thread a time