Commit Graph

12 Commits

Author SHA1 Message Date
Matthew Flatt
41e9e3e5ff db: add `sqlite3-available?'
Loading `db/sqlite3' no longer raises an exception if
the SQLite library isn't found. Instead, `sqlite3-connect'
raises an exception, while `sqlite3-available?' reports
whether it will work.

The dynamic test allows the documentation-help system
to continue to work if SQLite3 is not available. Currently,
though, `raco setup' still insists on using SQLite3 to
build the database of documented tags.
2012-11-23 18:44:51 -07: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
f5711c6cc3 db: added prepared statement cache 2012-02-08 22:32:51 -07:00
Ryan Culpepper
d312744aae db: make debugging easier 2011-12-13 23:51:31 -07:00
Ryan Culpepper
b355abfdb3 db: allow mysql-connect without db 2011-12-13 22:18:13 -07:00
Ryan Culpepper
00c6f91e7c db: fix use of lazy-require 2011-10-07 19:40:48 -06:00
Ryan Culpepper
52a738140d db: minimize dependencies 2011-09-27 19:28:44 -06:00
Ryan Culpepper
36149b92a7 db: added ssl support for mysql connections 2011-09-27 19:28:44 -06:00
Ryan Culpepper
e6433084f3 added unstable/lazy-require
Also fixed lazy-require to capture and use correct namespace.
2011-09-06 12:41:03 -06:00
Ryan Culpepper
a5bda8e0cd db: moved private contracts to db/base, removed useless requires 2011-08-31 05:40:24 -06:00
Ryan Culpepper
96663d4fa4 db: added #:use-place arg for ffi-based connections
SQLite and ODBC connections can use places to avoid blocking all
Racket threads.
2011-08-31 05:40:24 -06:00
Ryan Culpepper
50f0a32f9e added db library 2011-08-25 12:56:42 -06:00