Ryan Culpepper
05e7e61d85
added #:option to start-transaction, call-with-transaction
2012-12-01 01:33:56 -05:00
Ryan Culpepper
9d34f0f147
db: added support for postgresql 9.2 types (json, ranges)
...
Other major changes:
- pg code now uses only binary format
- pg timestamptz now always UTC (tz = 0), added doc section
- added contracts to most pg "can't-convert" errors
2012-09-17 12:29:17 -04:00
Ryan Culpepper
7c395e9c7c
db: updated to new error convention (mostly)
2012-08-25 19:02:18 -04:00
Ryan Culpepper
00fd18bc62
db: various fixes and additions
...
- fix connection-pool for nested tx, fix race condition
- ensure connected? always nonblocking
- added and reorganized some doc sections
- added grouping, contracts to in-query
- added rows->dict
2012-05-09 09:17:52 -06:00
Eli Barzilay
17090fca4f
A bunch of fprintf' ->
eprintf' conversions (and a few related things).
2012-05-06 12:06:00 -04:00
Ryan Culpepper
1b7368f80c
db: fix memory leaks
...
- sqlite3: table prevented pst gc unless close-on-exec
- statement cache wrongly disabled close-on-exec
(not a leak, just gc'd very slowly)
- limit statement cache size
2012-03-13 19:50:08 -06:00
Ryan Culpepper
766790b9e4
db: clean up disconnect
2012-02-08 22:32:51 -07:00
Ryan Culpepper
f142a1c5f2
db: clean up communication, locking
...
Disconnect on break exn within lock; other break-safety fixes.
2012-02-08 22:32:51 -07:00
Ryan Culpepper
f5711c6cc3
db: added prepared statement cache
2012-02-08 22:32:51 -07:00
Ryan Culpepper
6fe7e65ff0
db: clean up common tx code
2012-02-08 22:32:51 -07:00
Ryan Culpepper
4c817d0f7f
db: clean up and reogranize common impl code
2012-02-08 22:32:50 -07:00