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
ace9ffcec4
Infrastructure for binary parameter formats
...
Work towards #7 .
2013-08-31 17:16:49 -07:00
Steven Fackler
543af184ab
Moving blocks around for consistency
2013-08-29 02:19:53 -04:00
Steven Fackler
440421e81a
Minor cleanup
2013-08-29 01:44:34 -04: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
b93bbd7eed
Switched Message enums to struct-like
...
They're now a lot more clear, especially ones like Bind that have tons
of fields.
2013-08-28 23:25:15 -04:00
Steven Fackler
0204d950c4
Log NoticeResponses
...
Progress towards #3 . I think we probably want to have a user
configurable notice handler.
2013-08-28 02:23:36 -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
604b1ddb4d
Fix for generic type syntax changes
2013-08-28 00:09:50 -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
594830b296
Closer-to-proper error handling for connect
2013-08-27 00:19:24 -04:00
Steven Fackler
c73e1e93f4
ifmt! -> format!
2013-08-26 22:38:02 -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
f06a73c99e
Fixed up README for new name
2013-08-18 17:16:39 -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
Steven Fackler
5289e69fa7
Some random cleanup
2013-08-17 23:42:40 -04:00
Steven Fackler
4497035fe1
Remove configurable notice handler
2013-08-17 23:30:31 -04:00
Steven Fackler
5b416ce994
Added a quick test of different parameter types
2013-08-17 22:42:12 -04:00
Steven Fackler
2b6cdf3b9a
Proper generic parameters with NULL handling
2013-08-17 22:09:56 -04:00
Steven Fackler
a5aab529c9
Updated for latest master
2013-08-17 18:09:26 -04:00
Steven Fackler
17199139c9
Null support and Makefile
2013-08-04 20:48:48 -04:00
Steven Fackler
d6073039df
Minor cleanup
2013-08-04 02:52:14 -04:00
Steven Fackler
49bed84c81
Query parameters and transactions
2013-08-04 01:21:16 -04:00
Steven Fackler
2c268a9c36
Built out Postgres implementation
2013-08-03 22:17:32 -04:00
Steven Fackler
81190721d0
SqlType impls
2013-07-27 17:41:53 -04:00
Steven Fackler
af2db76953
Proper NULL support
2013-07-27 16:39:10 -04:00
Steven Fackler
762a55b38d
Added parameter binding
...
I'm still not sure about how best to do the bind parameter trait.
2013-07-27 01:43:36 -04:00
Steven Fackler
2ac7379a58
A bit of transaction support
2013-07-26 01:34:02 -04:00
Steven Fackler
c6b7215e01
Added utility methods
2013-07-25 03:10:18 -04:00
Steven Fackler
bbf28171f1
SQLite3 basics
2013-07-25 02:30:39 -04:00
Steven Fackler
a3085a559f
Initial commit
2013-07-22 21:43:51 -07:00