Short-circuit cleanUpBSNulls for the simplest case of no nulls inside a string. Makes everything go much faster.
Merge pull request #26 from scrive/master

Make handling of NULLs in strings faster
Merge branch 'ghc-7.6-fix' of github.com:soenkehahn/hdbc-postgresql into binaryNumbers
added QuickCheck properties for writing and reading values to and from the db
added benchmarks for (mapM_ execute) vs. executeMany
use binary format for sending SqlDouble and SqlInt64 to postgresql
testsuite: use Int64 instead of Int for postgresql's bigints (which are 64 bit ints)
testsuite: added identity test for 32 bit integers
testsuite: added testcases for writing and reading multiple values
bigger refactoring of fexecute and fexecutemany
Some testcases fail (time formats, string types)
re-add conversion of time and bytestring values
testsuite: quickcheck property refactoring
testsuite: better generation of test strings
switching to hexadecimal encoding for passing bytestrings (not text) to postgresql
See http://www.postgresql.org/docs/9.2/static/datatype-binary.html, section 8.4.1.
testsuite: added smoke test for DB.HDBC.PG.Utils.fromHex
Merge branch 'binaryNumbers'

This is a non-trivial merge. When executing prepared statements,
transmission of values in binary format is only possible using
the types that postgres inferred during statement-preparation.
Therefore 'execute' and 'executeMany' need to be very picky
which SqlValues are allowed. (See also the changes to
testsrc/Testbasics.hs.)

The behavior could be less strict in the future. (We could
convert values in Haskell-land. Or postgres might be tolerant in
some cases (e.g. accept smaller types).)

All operations that use 'execute*' internally become more picky,
too. This includes 'quickQuery'.

Conflicts:
	Database/HDBC/PostgreSQL/Statement.hsc
	testsrc/Tests.hs