Jack Christensen
4d6fe2d5fa
Doc updates
2017-07-15 08:41:26 -05:00
Jack Christensen
3404529457
Fix docs CopyTo -> CopyFrom
2017-07-04 10:52:20 -05:00
Christian Rocha
2509082c0e
Add missing `pgx.Identifier` to `CopyFrom` example
2017-07-04 10:51:42 -05:00
Jack Christensen
8712627257
Use Go casing convention for CID/TID/XID/CIDR
2017-06-03 12:01:49 -05:00
Jack Christensen
280bce7078
Added log adapter for logrus
...
Also changed standard logger interface to take a map instead of varargs for
extra data.
2017-04-29 21:28:38 -05:00
Jack Christensen
92cff1d961
Simplify []byte scanning
2017-03-18 14:42:36 -05:00
Jack Christensen
9e289cb186
Remove unused DefaultTypeFormats
2017-03-18 14:09:55 -05:00
Jack Christensen
743b98b298
Name PG types as words
...
Though this doesn't follow Go naming conventions exactly it makes names more
consistent with PostgreSQL and it is easier to read. For example, TIDOID becomes
TidOid. In addition this is one less breaking change in the move to V3.
2017-03-11 17:03:23 -06:00
Jack Christensen
39dad2b795
Merge branch 'master' into v3-experimental
2017-02-04 11:27:12 -06: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
e871ccfca2
Update docs for BeginEx
2017-01-07 13:12:09 -06:00
Jack Christensen
93e5c68f69
Merge branch 'master' into v3-experimental
2016-12-10 12:21:08 -06:00
Jack Christensen
383c12177e
Add mapping information for core types.
...
refs #183
2016-09-24 12:49:51 -05:00
Mostafa Hajizadeh
7a2738f9f2
Fix minor documentation mistake: s/slice/null/
2016-08-11 08:06:58 +04:30
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
390f75c0e1
Reduce Logger interface to Log method
2016-08-02 14:42:31 -05: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
1eecea606b
Tweak doc.go so section head is detected
2015-12-09 12:00:33 -06:00
Jack Christensen
e1215d9b19
[]byte skips encoding/decoding
...
refs #104
2015-11-12 14:54:25 -06:00
Jack Christensen
23c48c2f87
Add trace logging
2015-09-16 08:40:01 -05:00
Jack Christensen
8b296b9d58
Encode from net.IP to inet and cidr
2015-09-09 18:49:20 -05: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
Jack Christensen
0a213e6474
Add hstore to docs
2014-09-19 17:38:35 -05:00
Jack Christensen
98853ea98f
more docs
2014-09-19 17:35:00 -05:00
Jack Christensen
8f81acfb5f
Enhance support for custom types
...
* Add per connection oid to name map
* Global default type format is now based on names not oids
* Add better docs for custom types
2014-09-19 15:27:15 -05:00