We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d24a060 commit c664f17Copy full SHA for c664f17
datafusion-postgres/src/handlers.rs
@@ -141,15 +141,14 @@ impl DfSessionService {
141
// Use a hash of PID, secret key, and socket address for better uniqueness
142
let (pid, secret) = client.pid_and_secret_key();
143
let socket_addr = client.socket_addr();
144
-
+
145
// Create a hash of all identifying values
146
let mut hasher = std::collections::hash_map::DefaultHasher::new();
147
pid.hash(&mut hasher);
148
secret.hash(&mut hasher);
149
socket_addr.hash(&mut hasher);
150
151
- let conn_id = hasher.finish();
152
- conn_id
+ hasher.finish()
153
}
154
155
/// Check if the current user has permission to execute a query
0 commit comments