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 42b2a10 commit 1136250Copy full SHA for 1136250
my-postgres-core/src/connection/postgres_connect_inner.rs
@@ -459,8 +459,8 @@ fn get_sql_telemetry_tags(sql: Option<&str>) -> Option<Vec<my_telemetry::Telemet
459
if let Some(sql) = sql {
460
Some(vec![my_telemetry::TelemetryEventTag {
461
key: "SQL".to_string(),
462
- value: if sql.len() > 255 {
463
- sql[..255].to_string()
+ value: if sql.len() > 2048 {
+ sql[..2048].to_string()
464
} else {
465
sql.to_string()
466
},
0 commit comments