160 Commits

Author SHA1 Message Date
Jack Christensen
0a12d7a13a Update changelog 2017-03-17 14:58:40 -05:00
Jack Christensen
97c01fb524 Update docs for 2.10.0 release 2017-03-17 08:06:00 -05:00
Jack Christensen
a52a6bd555 Add PgxScanner interface
Enables types to support database/sql at the same time as pgx.

fixes #232
2017-02-02 20:20:52 -06:00
Jack Christensen
63e482f6bc Update changelog for logical replication 2017-02-02 19:33:03 -06:00
Jack Christensen
d398d95764 Explicitly close checked-in connections on ConnPool.Reset 2017-01-23 22:48:17 -06:00
Jack Christensen
8c76baabbd Add changelog note of jsonb []byte change
fixes #200
2016-10-28 15:56:11 -05:00
Jack Christensen
a62698f8a7 Update changelog 2016-10-05 08:43:39 -05:00
Jack Christensen
ed2ab0a129 Update changlog 2016-10-01 11:06:15 -05:00
Jack Christensen
0c7277fe15 Update changelog 2016-09-05 08:08:39 -05:00
Jack Christensen
2508faa9ce Release 2.9.0 2016-08-26 07:39:15 -05:00
Jack Christensen
cfb0304ab0 Fix typos 2016-08-10 16:28:29 -05:00
Jack Christensen
5f7d01778e Add CopyTo to support PostgreSQL copy protocol
fixes #102
2016-08-10 16:27:44 -05:00
Jack Christensen
558d5550cf Update changelog for ConnPool.Acquire Dialer timeout improvements 2016-07-15 14:51:40 -05:00
Jack Christensen
1a4be31e7a Fix Rows.Values with binary varchar
fixes #161
2016-07-07 08:03:26 -05:00
Jack Christensen
32184fcdaf Update changelog 2016-07-07 07:51:26 -05:00
Jack Christensen
71d8b5b438 Encode / decode named types with compatible underlying type
Handle string, int, int8, int16, int32, int64, uint, uint8, uint16,
uint32, uint64.
2016-07-05 18:01:44 -05:00
Jack Christensen
30cb421551 Add basic record to []interface{} decoding
refs #155
2016-06-21 15:00:47 -05:00
Jack Christensen
8db0a774d7 Update changelog 2016-05-20 09:34:53 -05:00
Jack Christensen
7323d3f5a7 Encode/decode [][]byte to/from bytea[]
fixes #139
2016-04-30 19:07:29 -05:00
Jack Christensen
be45d46b37 Update changelog 2016-04-30 14:52:21 -05:00
Jack Christensen
acd9c01bd6 Fix ConnPool.Deallocate 2016-04-30 12:22:26 -05:00
Jack Christensen
9edd770c70 Release 2.8.1 2016-03-24 15:38:55 -05:00
Jack Christensen
9ce1b2b16e Fix Listen/Unlisten with special characters
fixes #132
2016-03-24 15:26:44 -05:00
Jack Christensen
b8486d6749 Fix Tx.status not being set on error on Commit
fixes #131
2016-03-24 15:11:04 -05:00
Jack Christensen
7947ab561f Update changelog 2016-03-24 14:23:10 -05:00
Jack Christensen
410a7646bc Release v2.8.0 2016-03-18 15:22:35 -05:00
Jack Christensen
0cfdb8bee0 Update changelog 2016-03-18 15:10:32 -05:00
Jack Christensen
49b3582977 Fix connection corruption when errored query closes early
refs #125
2016-03-15 19:20:03 -05:00
Jack Christensen
f12ae84ac5 Update changelog 2016-03-11 07:58:51 -06:00
Jack Christensen
1ad4c0090a Add ConnPool Prepare and Deallocate
fixes #68
2016-03-04 16:26:27 -06:00
Jack Christensen
c6b6d7bad7 Expose encoding and decoding functions 2016-02-15 13:57:11 -06:00
Jack Christensen
5679574bca Update changelog 2016-02-13 13:36:37 -06:00
Jack Christensen
beed0c0e5f Fix (r *msgReader) rxMsg() error guard clause
rxMsg() has a guard clause that checks if the msgReader has already
encountered an error. It should return that pre-existing error. It
was incorrectly returning a local `err` variable instead of `r.err`.
2016-01-29 16:30:15 -06:00
Jack Christensen
9f9a9779ac Add compatibility with database/sql custom types
Support database/sql.Scanner
Support database/sql/driver.Valuer
2015-12-31 14:46:43 -06:00
Jack Christensen
73bd33b215 Do not encode Go float64 to a PostgreSQL float4
The automatic conversion of float64 to float32 could cause loss of
precision.
2015-12-21 13:12:11 -06:00
Jack Christensen
08f927ca7e Update CHANGELOG 2015-12-12 13:18:38 -06:00
Jack Christensen
edfdaf15c6 Rows.Scan errors now include which argument caused error 2015-11-20 14:02:49 -06:00
Jack Christensen
3262ee23f3 Release 2.7.1 2015-10-26 12:09:46 -05:00
Jack Christensen
1e9206fc6c Release v2.7.0 2015-10-16 16:37:45 -05:00
Jack Christensen
7e668f54fe Update changelog 2015-10-16 16:18:31 -05:00
Jack Christensen
355a3854db Update changelog 2015-10-16 15:01:40 -05:00
Jack Christensen
7dfdc92855 Rows.Values supports oid type 2015-10-07 08:00:43 -05:00
Jack Christensen
1b90ad1051 Update changelog 2015-09-21 08:20:30 -05:00
Jack Christensen
516c88fde3 Update changelog 2015-09-21 07:54:22 -05:00
Jack Christensen
3316ed2ff4 Update changelog 2015-09-12 19:42:15 -05:00
Jack Christensen
8b296b9d58 Encode from net.IP to inet and cidr 2015-09-09 18:49:20 -05:00
Jack Christensen
ee7d621528 Update changelog 2015-09-09 18:31:19 -05:00
Jonathan Rudenberg
53967c704a Fix feature attribution in CHANGELOG 2015-09-08 17:43:41 +00:00
Jack Christensen
e4f401f6ec Add documentation for pointer to pointer null mapping 2015-09-08 12:15:16 -05:00
Jack Christensen
5ea6b04624 Add docs and example for JSON 2015-09-04 14:00:21 -05:00