Alex Suraci
5d67da1472
bump lib/pq
2018-11-20 10:50:55 -05:00
Alex Suraci
aa068b667a
postgres: improve readability of error check
2018-11-20 10:50:55 -05:00
Alex Suraci
9b9013a560
postgres: use stdlib to set serializable tx level
...
also use a context for the rollback, which is a bit cleaner since it
only results in one 'defer', rather than N from the loop
2018-11-20 10:50:55 -05:00
Alex Suraci
7e96021428
retry on serialization errors
2018-11-20 10:50:55 -05:00
Alex Suraci
0b856d1a75
pg: support host:port for backwards-compatibility
2018-11-20 10:22:39 -05:00
Alex Suraci
7c63be4104
remove incomplete mysql and cockroachdb support
2018-11-16 18:07:20 +00:00
Alex Suraci
dcca427592
fix bogus conformance failure due to time zones
...
this failed on my machine due to the unexported 'loc' field of the time
structure - it was nil in one and set to a ton of tiemzone data in the
other. instead let's just compare the unix timestamp value and zero it
out for the struct comparison.
2018-11-15 13:51:07 -05:00