Commit Graph

23 Commits

Author SHA1 Message Date
Steven Fackler
46b4228415 Binary return value support
The set of types the driver asks for in binary format is currently hard
coded.

cc #7, #14
2013-09-02 15:43:48 -04:00
Steven Fackler
1a6d681cbd Strict type checking in ToSql
cc #14
2013-09-02 13:27:25 -04:00
Steven Fackler
8b787cf8af Convenience update methods
cc #11
2013-09-01 11:06:33 -07:00
Steven Fackler
fa818566f3 Support for lazy query results
Closes #13.
2013-08-31 23:19:44 -07:00
Steven Fackler
e82c887949 Restructure result API for row limits
Work towards #13.
2013-08-31 21:55:44 -07:00
Steven Fackler
557c61d6db Binary transmission of numeric types
It looks like Postgres doesn't guarantee that its floats are IEEE754,
but I don't know if there are any reasonable platforms on which the
format is actually different.

Work towards #7.
2013-08-31 17:17:06 -07:00
Steven Fackler
f56c519097 Boolean parameters transmitted as binary
Work towards #7.
2013-08-31 17:16:59 -07:00
Steven Fackler
be080e783f Stop storing num_params in statement
Postgres will check the count for us.
2013-08-29 01:33:27 -04:00
Steven Fackler
30d1a43f4b Parsing of ErrorResponse and NoticeResponse
PostgresDbError::new plays a little fast and loose with the expected
format. Hopefully that's okay.

Closes #4
2013-08-29 00:24:43 -04:00
Steven Fackler
27bbf6f7fd Pull ToSql and FromSql out into their own module
Their implementations will become significantly more complicated once we
start handling binary data.
2013-08-28 00:37:06 -04:00
Steven Fackler
44ea118d02 Call methods on transaction object, not conn 2013-08-27 01:45:27 -04:00
Steven Fackler
afd7d8800d Better transaction syntax
Closes #9
2013-08-27 01:40:23 -04:00
Steven Fackler
6afc2cac3f Fix error handling for prepare, result and query
Closes #2
2013-08-27 01:06:53 -04:00
Steven Fackler
f60d3993b3 Handle conditions in Drop impls
Aborting the process is sadface
2013-08-26 03:36:09 -04:00
Steven Fackler
47ef8ea6b1 Add plaintext and MD5 password authentication 2013-08-26 01:08:37 -04:00
Steven Fackler
ceaac705d6 Parameter binding support! 2013-08-24 23:47:36 -04:00
Steven Fackler
9ff747724a Query support! 2013-08-23 03:13:42 -04:00
Steven Fackler
dd64882d32 Updates and transactions 2013-08-23 01:24:14 -04:00
Steven Fackler
e5c5b783f3 Clean up for extra::url fixes 2013-08-22 22:47:06 -04:00
Steven Fackler
2b617e61b1 Beginnings of Bind support 2013-08-22 03:12:35 -04:00
Steven Fackler
1f127289bb Fully construct prepared statements 2013-08-22 02:41:26 -04:00
Steven Fackler
11098f4d47 Beginnigs of native Postgres frontend 2013-08-22 01:58:37 -04:00
Steven Fackler
067f2c9f91 Removed sql and sqlite3
I'm going to focus on a postgres driver for now
2013-08-18 17:14:22 -04:00