Jack Christensen
8a7165dd98
Add ctx to PrepareEx
...
Remove PrepareExContext
2017-05-20 18:03:59 -05:00
Jack Christensen
2a49569747
Remove AfterClose() and Conn() from Tx and Rows
2017-05-06 10:00:49 -05:00
Jack Christensen
8322171bd8
Remove Rows.Fatal
2017-05-06 09:37:49 -05:00
Jack Christensen
0a67735a8e
ConnPool.Close does not wait for acquired conns
2017-05-06 09:25:58 -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
e4451b47b2
Add shopspring.Numeric
...
This adds PostgreSQL numeric mapping to and from
github.com/shopspring/decimal.
Makes pgtype.NullAssignTo public as external types need this functionality.
Begin extraction of pgtype testing functionality so it can easily be used by
external types.
2017-04-14 12:24:44 -05:00
Jack Christensen
932ab58cf7
Remove ValueReader
2017-04-12 07:46:25 -05:00
Jack Christensen
54d9cbc743
Add pgtype.Varbit
2017-04-05 07:54:41 -05:00
Jack Christensen
e5c48b17f2
Add pgtype.Macaddr
2017-04-04 21:07:27 -05:00
Jack Christensen
5be6819a8c
Add pgtype.Circle
...
Also rename Point.Vec2 to Point.P to conform to rest of geometric types.
2017-04-04 20:39:48 -05:00
Jack Christensen
dc71bedebf
Add pgtype.Polygon
2017-04-04 20:30:04 -05:00
Jack Christensen
d14de1d1fc
Add path
2017-04-04 08:40:41 -05:00
Jack Christensen
365005d207
Add pgtype.Lseg
2017-04-04 08:16:02 -05:00
Jack Christensen
5394aa9a2b
Add pgtype.Line
2017-04-04 08:04:54 -05:00
Jack Christensen
06822bebe0
Add pgtype.Box
2017-04-03 19:47:36 -05:00
Jack Christensen
5a2feadf11
Add pgtype.Point
2017-04-03 17:53:32 -05:00
Jack Christensen
c09c356b19
Add pgtype.NumericArray
2017-04-03 07:46:45 -05:00
Jack Christensen
6ca1c1e41e
Add pgtype.Numrange
2017-04-03 07:35:19 -05:00
Jack Christensen
9e5e02cc83
Add pgtype TODO notes
2017-04-01 23:44:03 -05:00
Jack Christensen
9ab59a74a9
Remove oid constants from pgx
2017-03-18 14:59:34 -05:00
Jack Christensen
92cff1d961
Simplify []byte scanning
2017-03-18 14:42:36 -05:00
Jack Christensen
94749e580f
Remove CopyTo
2017-03-17 14:18:25 -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
4d56221868
Do not scan binary values into strings
...
refs #219 and #228
2017-02-16 19:19:45 -06:00
Jack Christensen
ccc65c361a
Privatize Conn.SecretKey
2017-02-16 18:31:34 -06:00
Jack Christensen
f947f0971f
more v3 notes
2017-02-14 21:57:48 -06:00
Jack Christensen
c8be89a16b
v3 notes updated
2017-02-13 20:48:55 -06:00
Jack Christensen
79b28d24e2
Add todo to v3
2017-01-21 16:01:21 -06:00
Jack Christensen
15c4307c48
Add note for strongly typed queries
2017-01-07 14:18:52 -06:00
Jack Christensen
69434056c6
Remove Conn.TxStatus
2017-01-07 14:10:11 -06:00
Jack Christensen
ec513248ac
Conn.PID accessed through method
2017-01-07 13:37:36 -06:00
Jack Christensen
356fcd4b0e
Add note for privatizing struct vars
2017-01-07 12:58:37 -06:00
Jack Christensen
a35621d285
Add note about cancel and timeouts
2017-01-06 18:45:02 -06:00
Jack Christensen
430d4943c7
Replace BeginIso with BeginEx
...
Adds support for read/write mode and deferrable modes.
2016-12-31 11:48:45 -06:00
Jack Christensen
2578cba288
Add v3 todos
2016-08-02 16:59:07 -05:00
Jack Christensen
e47373227b
Rename Uuid to UUID
2016-08-02 16:21:32 -05:00
Jack Christensen
73124171e2
Rename Pid to PID
2016-08-02 15:10:00 -05:00
Jack Christensen
390f75c0e1
Reduce Logger interface to Log method
2016-08-02 14:42:31 -05:00
Jack Christensen
04c02cf3d3
Rename Json(b) to JSON(B)
2016-08-02 13:35:52 -05:00
Jack Christensen
214443deb7
Rename Oid to OID
2016-08-02 13:31:55 -05:00