We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a17fe64 commit 4eb99e0Copy full SHA for 4eb99e0
1 file changed
src/lib.rs
@@ -173,6 +173,7 @@ impl PostgresConnection {
173
next_stmt_id: Cell::new(0)
174
};
175
176
+ args.push((~"client_encoding", ~"UTF8"));
177
// We have to clone here since we need the user again for auth
178
args.push((~"user", user.user.clone()));
179
if !path.is_empty() {
@@ -788,7 +789,7 @@ impl RowIndex for uint {
788
789
}
790
791
-// This is a convenicence as the 0 in get[0] resolves to int :(
792
+// This is a convenience as the 0 in get[0] resolves to int :(
793
impl RowIndex for int {
794
fn idx(&self, _stmt: &NormalPostgresStatement) -> uint {
795
assert!(*self >= 0);
0 commit comments