Issue 131: CopyManager throws wrong exception when setting DateStyle
Added management of 'S' message when an error happens during a copy
operation.
Merge pull request #145 from davecramer/master

made forceBinaryTransfer non static, explicit check for prepareThreshold...
Merge pull request #132 from apetrelli/master

Issue 131: CopyManager throws wrong exception when setting DateStyle
added test case for changing datestyle in a before copy
fixed lo_open/fastpath transaction inconsistency reported and patched by Ludovic Pollet -- bugfix