Jack Christensen
|
b6bdf5f89b
|
Update changelog
|
2018-03-17 10:28:34 -05:00 |
|
Jack Christensen
|
cb4431028c
|
Fix precision loss for test format geometric types
fixes #399
|
2018-03-17 10:26:03 -05:00 |
|
Jack Christensen
|
a07b87eb8b
|
Skip line test of PG 9.3
|
2018-03-08 08:05:54 -05:00 |
|
Jack Christensen
|
b0c9bbbf71
|
Update shopspring decimal integration test
New version of shopspring/decimal improves precision. This broke a test.
|
2018-03-08 07:40:25 -05:00 |
|
Jack Christensen
|
b931b56bf6
|
Document edge case with renamed types
fixes #393
|
2018-03-03 14:09:49 -06:00 |
|
Jack Christensen
|
55ca9db5d5
|
Skip test based on missing line type
Instead of explicit server version checking. Ubuntu installed version
string is not parsable by go-version. e.g.
10.2 (Ubuntu 10.2-1.pgdg16.04+1)
|
2018-02-16 21:39:19 -06:00 |
|
Jack Christensen
|
606697ffdf
|
Merge pull request #389 from steampunkcoder/FixStartReplicationSyntaxError
Fix syntax error in replication protocol msg issued by StartReplication()
|
2018-02-05 16:20:27 -06:00 |
|
steampunkcoder
|
cba88a4b7d
|
Fix syntax error in replication protocol message issued by StartReplication()
According to https://www.postgresql.org/docs/9.6/static/protocol-replication.html
pluginArguments should be separated by commas and surrounded by parantheses.
|
2018-02-05 11:12:55 -08:00 |
|
Jack Christensen
|
8cf92b683d
|
Update changelog
|
2018-02-03 11:44:56 -06:00 |
|
Jack Christensen
|
56a5cb4e5d
|
Merge branch 'sean--scheme-agnostic-uri'
|
2018-02-03 11:44:09 -06:00 |
|
Jack Christensen
|
a487caf45f
|
Merge branch 'scheme-agnostic-uri' of https://github.com/sean-/pgx into sean--scheme-agnostic-uri
|
2018-02-03 11:43:46 -06:00 |
|
Jack Christensen
|
6925f8dfe6
|
Update changelog
|
2018-02-03 11:21:53 -06:00 |
|
Jack Christensen
|
f911070f68
|
Add new SSL config to envvar parsing
|
2018-02-03 11:20:42 -06:00 |
|
Jack Christensen
|
1c32ce5945
|
Merge branch 'sean--stdlib-tls'
|
2018-02-03 11:20:23 -06:00 |
|
Jack Christensen
|
29c6e5234d
|
Merge branch 'stdlib-tls' of https://github.com/sean-/pgx into sean--stdlib-tls
|
2018-02-03 11:09:59 -06:00 |
|
Jack Christensen
|
52fc785a43
|
Fix incorrect reuse of Value in Rows.Values()
fixes #386
|
2018-02-03 11:04:49 -06:00 |
|
Sean Chittenden
|
6cfb436397
|
Parse URI-encoded connection strings as URIs.
CockroachDB is frequently referenced as: `cockroachdb://` as its
scheme. Be scheme name agnostic.
|
2018-02-02 16:19:58 -08:00 |
|
Sean Chittenden
|
6a4303120f
|
Only read in TLS certs when the key and cert are present.
|
2018-02-02 08:37:23 -08:00 |
|
Sean Chittenden
|
f0dc593c2f
|
Only initialize the CA if the path is not an empty string.
|
2018-02-02 08:24:41 -08:00 |
|
Sean Chittenden
|
52bada3401
|
Add a clientcert example to simplify future TLS testing.
|
2018-02-02 00:29:37 -08:00 |
|
Sean Chittenden
|
8078930406
|
Add TLS arg parsing to ParseDSN().
Factor out the TLS cert handling and add it to `configTLS()` via a
`struct` argument.
|
2018-02-01 23:51:50 -08:00 |
|
Sean Chittenden
|
d7f24b91f4
|
Make ParseURI() compatible with lib/pq's TLS keywords.
Add support for:
- `sslrootcert`
- `sslcert`
- `sslkey`
All three arguments, like thir `gitub.com/lib/pq` counterparts,
are filesystem paths.
|
2018-02-01 22:58:14 -08:00 |
|
Sean Chittenden
|
4506a3e359
|
Gratuitously rename configSSL() to configTLS() .
SSL is dead, Jim.
|
2018-02-01 15:07:59 -08:00 |
|
Jack Christensen
|
da3231b0b6
|
Release 3.1.0
v3.1.0
|
2018-01-15 11:48:07 -06:00 |
|
Jack Christensen
|
5f24beb4f0
|
Test database name in parsing tests
|
2018-01-15 11:47:59 -06:00 |
|
Jack Christensen
|
f5c7ef0957
|
Add docs regarding Batch.Send deadlock potential
refs #374
|
2018-01-15 10:37:16 -06:00 |
|
Jack Christensen
|
b85df46c9b
|
Merge branch 'eruca-patch-1'
|
2018-01-13 18:15:01 -06:00 |
|
Jack Christensen
|
a680463718
|
Import encoding/json package
|
2018-01-13 18:14:42 -06:00 |
|
Jack Christensen
|
6ca9b1279e
|
Merge branch 'patch-1' of https://github.com/eruca/pgx into eruca-patch-1
|
2018-01-13 18:12:35 -06:00 |
|
Jack Christensen
|
7f782ca6c9
|
Merge branch 'aka-rider-pgtype-bpchar'
|
2018-01-13 18:11:12 -06:00 |
|
Jack Christensen
|
7546b5bd30
|
Merge branch 'pgtype-bpchar' of https://github.com/aka-rider/pgx into aka-rider-pgtype-bpchar
|
2018-01-13 18:10:33 -06:00 |
|
Jack Christensen
|
2c07b03087
|
Parse connect_timeout into Dial func
Instead of adding Timeout field which could conflict with custom Dial
func.
|
2018-01-13 18:02:13 -06:00 |
|
Jack Christensen
|
9281f057ae
|
Merge branch 'timeout' of https://github.com/cyberdelia/pgx into cyberdelia-timeout
|
2018-01-13 17:31:22 -06:00 |
|
Jack Christensen
|
3707b79782
|
Add prefer simple protocol support to stdlib
Test code partially taken from james-lawrence
(7471e7f9eb0f33a05e2f0cf06db8714850880d72)
|
2018-01-13 13:46:20 -06:00 |
|
Jack Christensen
|
bd76a96882
|
Add ConnConfig.PreferSimpleProtocol
Allows configuring on a connection basis to prefer the simple protocol /
disable implicit prepared statements.
refs #331
|
2018-01-13 12:05:33 -06:00 |
|
Jack Christensen
|
50627257f9
|
Merge branch 'james-lawrence-feature/conn-info'
|
2018-01-13 10:41:28 -06:00 |
|
Jack Christensen
|
cf756cb386
|
Merge branch 'feature/conn-info' of https://github.com/james-lawrence/pgx into james-lawrence-feature/conn-info
|
2018-01-13 10:34:30 -06:00 |
|
Jack Christensen
|
119ba7a449
|
Fix go vet issues
|
2018-01-13 10:08:02 -06:00 |
|
Iurii Krasnoshchok
|
90de4adfa7
|
Add support for bpchar type
|
2018-01-02 12:29:40 +01:00 |
|
eruca
|
de72a2c730
|
UnmarshalJSON for Int8 missing
|
2017-12-29 21:09:22 +08:00 |
|
Jack Christensen
|
4fb47ac8c9
|
Merge pull request #371 from ferhatelmas/gofmt-simplify
Run gofmt with simplify flag
|
2017-12-23 10:32:44 -06:00 |
|
Jack Christensen
|
da564d2801
|
Merge branch 'aka-rider-fix-record-panic'
|
2017-12-23 10:24:32 -06:00 |
|
Jack Christensen
|
21dad60cf7
|
Add test for record with unknown OID
|
2017-12-23 10:24:09 -06:00 |
|
Jack Christensen
|
fcf7df042b
|
Merge branch 'fix-record-panic' of https://github.com/aka-rider/pgx into aka-rider-fix-record-panic
|
2017-12-23 10:21:50 -06:00 |
|
Jack Christensen
|
fcf7db2eb8
|
Merge pull request #367 from cyberdelia/eol
Postgres 9.2 is not supported since September 2017
|
2017-12-23 10:01:52 -06:00 |
|
ferhat elmas
|
763deea17e
|
Run gofmt with simplify flag
|
2017-12-21 23:45:26 +01:00 |
|
Iurii Krasnoshchok
|
0bc891e780
|
Return error on unknown oid while decoding record instead of panic
|
2017-12-20 14:47:52 +01:00 |
|
Timothée Peignier
|
200f65cd09
|
Postgres 9.2 is not supported since September 2017
|
2017-12-16 19:25:07 -08:00 |
|
Timothée Peignier
|
1bec450326
|
Handle timeout parameters
|
2017-12-16 19:18:33 -08:00 |
|
James Lawrence
|
393e9f4fd3
|
allow overriding connection info
|
2017-12-16 18:02:21 -05:00 |
|