Commit Graph

171 Commits (04bcc0219dc3acf67f27e68decd6dffe97334779)

Author SHA1 Message Date
Jack Christensen cc7de81d3b Make array helpers private 2022-04-16 14:21:40 -05:00
Jack Christensen 1c90746cf5 Update CHANGELOG 2022-04-16 14:14:59 -05:00
Jack Christensen 1ef2cee36e Update changelog 2022-04-09 10:26:45 -05:00
Patrick Audley 9f23ed84ba Minor typo in Changelog 2022-03-21 09:01:46 -05:00
Jack Christensen 8c18d7808b Add documentation 2022-03-19 17:01:12 -05:00
Jack Christensen 318018504a Merge branch 'master' into v5-dev 2022-02-07 11:22:01 -06:00
Jack Christensen 2b7de82ef4 Release v4.15.0 2022-02-07 11:03:06 -06:00
Jack Christensen fbbf403cf2 Update changelog 2021-12-11 08:56:41 -06:00
Jack Christensen 7e13db4538 Finish import of pgtype repo
Fix some tests that broke by merging repos
Tweak readme wording
2021-12-04 13:45:57 -06:00
Jack Christensen 9fdaf7da81 Release v4.14.1 2021-11-28 22:46:52 -05:00
Jack Christensen 9da0a7aef7 Release v4.14.0 2021-11-20 10:48:31 -06:00
Jack Christensen 8f33ed07cd Release v4.13.0 2021-07-24 10:59:24 -05:00
Jack Christensen 9ee04e87e3 Release v4.12.0 2021-07-10 10:06:00 -05:00
Jack Christensen 909b81a163 Release v4.11.0 2021-03-25 10:21:28 -04:00
Jack Christensen fc4d50f6c2 Release v4.10.1 2020-12-19 10:18:49 -06:00
Jack Christensen e14638e125 Release v4.10.0 2020-12-03 19:50:07 -06:00
Jack Christensen eeaa26abee Release v4.9.2 2020-11-03 19:24:54 -06:00
Jack Christensen 9898beaa2d Release v4.9.1 2020-10-31 17:36:36 -05:00
Jack Christensen 2a8ae6f269 Release v4.9.0 2020-09-26 11:58:01 -05:00
Jack Christensen e9579e6249 Release v4.8.1 2020-07-29 22:19:49 -05:00
Jack Christensen b8c5857880 Release v4.8.0 2020-07-22 06:49:50 -05:00
Jack Christensen 42cbd0fa46 Release v4.7.2 2020-07-14 12:07:51 -05:00
Jack Christensen 3568b908c0 Release v4.7.1 2020-06-29 10:43:18 -05:00
Jack Christensen 34cbb61138 Release v4.7.0 2020-06-27 12:31:13 -05:00
Jack Christensen 1f68908da6 Update changelog 2020-06-06 11:09:32 -05:00
Jack Christensen 0446492fe9 Release v4.6.0 2020-03-30 11:35:02 -05:00
Jack Christensen 576f99a35e Release v4.5.0 2020-03-07 13:32:17 -06:00
Jack Christensen 542c9a97f1 Release v4.4.1 2020-02-14 17:59:33 -06:00
Jack Christensen ea0eacc0b6 Release v4.4.0 2020-02-05 11:31:22 -06:00
Jack Christensen 1059288751 Update changelog 2020-01-23 21:05:53 -06:00
Jack Christensen 69048c281c Update changelog 2020-01-13 08:51:08 -06:00
Jack Christensen 7a394d5c78 Update changelog 2020-01-11 19:25:23 -06:00
Jack Christensen f3a3ee1a0e Release v4.1.2 2019-10-22 20:51:52 -05:00
Jack Christensen 3da4ea1a97 Release 4.1.1 2019-10-21 13:57:39 -05:00
Jack Christensen e8a20809dd Release v4.1.0 2019-10-12 11:28:39 -05:00
Jack Christensen 93a2aa5b2f Releasing a busy connection closes the connection
refs #622
2019-10-12 11:26:51 -05:00
Jack Christensen 143bc3165d Add Conn() to Tx interface.
This is necessary to allow code using a Tx to access the *Conn (and
pgconn.PgConn) on which the Tx is executing.
2019-10-12 09:35:29 -05:00
Jack Christensen c0a1f9976a Conn.Begin and Conn.BeginTx return a Tx interface
This is necessary for the Conn.Begin method to signature as other
methods that begin a transaction. This is technically a breaking change
but practically is just a bug fix that is extremely unlikely to break
any existing code.
2019-10-12 09:35:29 -05:00
Jack Christensen 0a50ae89be Release 4.0.1 2019-09-19 23:03:52 -05:00
Jack Christensen 28ad4873d3 Final v4 doc changes 2019-09-14 20:45:50 -05:00
Jack Christensen be8ed87408 Update changelog 2019-09-02 12:27:02 -05:00
Jack Christensen da16226e0a Update docs for first prerelease of v4 2019-06-29 13:59:11 -05:00
Jack Christensen c59c9cac59 Update changelog for v3.3.0 2018-12-01 11:13:13 -06:00
Jack Christensen 89f1e6ac72 Update changelog 2018-08-07 09:28:28 -05:00
Jack Christensen 5297846239 pgtype.JSON(B).Value now returns []byte
Allows scanning jsonb column into *json.RawMessage.

fixes #409
2018-04-14 09:17:56 -05:00
Jack Christensen db7df79e10 Add domain support
fixes #407
2018-04-07 14:04:16 -05:00
Jack Christensen b6bdf5f89b Update changelog 2018-03-17 10:28:34 -05:00
Jack Christensen 8cf92b683d Update changelog 2018-02-03 11:44:56 -06:00
Jack Christensen 6925f8dfe6 Update changelog 2018-02-03 11:21:53 -06:00
Jack Christensen 52fc785a43 Fix incorrect reuse of Value in Rows.Values()
fixes #386
2018-02-03 11:04:49 -06:00
Jack Christensen da3231b0b6 Release 3.1.0 2018-01-15 11:48:07 -06:00
Jack Christensen 66918e80df Release 3.0.1 2017-08-12 17:45:57 -05:00
Jack Christensen 69494780a8 Update changelog for v3 2017-07-24 08:53:57 -05:00
Jack Christensen f79e52f1ee Make v3 main release 2017-07-24 08:51:34 -05:00
Jack Christensen 88c7dd8da2 Fix typo in changelog 2017-07-21 14:12:19 -05:00
Jack Christensen cd16be9308 Close database/sql connections created through ConnPool
database/sql driver created through stdlib.OpenFromConnPool closes connections
when requested by database/sql rather than release to underlying connection
pool.
2017-06-08 19:14:03 -05:00
Jack Christensen 1c452a4a1e Spelling corrections 2017-06-05 09:19:29 -05:00
Jack Christensen 29c017d750 Add v3 to changelog 2017-06-05 09:11:19 -05:00
Jack Christensen 9bd22f689a Release v2.11.0 2017-06-05 08:57:30 -05:00
Jack Christensen b84338d7d6 Update changelog 2017-04-01 08:52:21 -05:00
Jack Christensen 7bc5af61b8 Update changelog 2017-03-22 08:18:42 -05:00
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