PostgreSQL connection pooler, load balancer and database sharder.
This report presents the forensic synthetic code analysis of pgdogdev/pgdog, a Rust project with 5,287 GitHub stars. SynthScan v2.0 examined 185,617 lines of code across 1194 source files, recording 437 pattern matches distributed across 13 syntactic categories. The overall adjusted score of 3.4 places this repository in the Likely human-written band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 437 distinct pattern matches across 13 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | pgdog-postgres-types/src/array.rs | 397 | // ── Text decode ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | pgdog-postgres-types/src/array.rs | 502 | // ── Text roundtrip ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | pgdog-postgres-types/src/array.rs | 532 | // ── Cross-format encode ────────────────────────────────────────── | COMMENT |
| MEDIUM | pgdog-postgres-types/src/array.rs | 569 | // ── Binary roundtrip ───────────────────────────────────────────── | COMMENT |
| MEDIUM | pgdog-postgres-types/src/array.rs | 596 | // ── Rejection / validation ─────────────────────────────────────── | COMMENT |
| MEDIUM | pgdog-postgres-types/src/array.rs | 696 | // ── Equality ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | pgdog-postgres-types/src/array.rs | 706 | // ── Datum integration ──────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | integration/pgdog.toml | 186 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | integration/pgdog.toml | 195 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | integration/pgdog.toml | 205 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | integration/pgdog.toml | 215 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | integration/pgdog.toml | 225 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | integration/pgdog.toml | 235 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | integration/pgdog.toml | 244 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | integration/pgdog.toml | 1 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | integration/pgdog.toml | 42 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | integration/pgdog.toml | 55 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | integration/pgdog.toml | 97 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | integration/pgdog.toml | 171 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | integration/pgdog.toml | 263 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | integration/pgdog.toml | 282 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | integration/pgdog.toml | 309 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | integration/pgdog.toml | 334 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | integration/pgdog.toml | 351 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | integration/pgdog.toml | 370 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | integration/pgdog.toml | 403 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | integration/pgdog.toml | 427 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | integration/pgdog.toml | 434 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | integration/pgdog.toml | 487 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | integration/rust/tests/integration/cancel.rs | 127 | // ── Cancel connection 1 ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | integration/rust/tests/integration/cancel.rs | 145 | // ── Cancel connection 2 ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | integration/rust/tests/integration/admin/tasks.rs | 9 | // ─── Constants ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | integration/rust/tests/integration/admin/tasks.rs | 24 | // ─── Helpers ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | integration/rust/tests/integration/admin/tasks.rs | 358 | // ─── Tests ────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | pgdog/src/net/messages/replication/logical/update.rs | 129 | // ── partial_new ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | pgdog/src/frontend/router/sharding/mapping.rs | 153 | // ── helpers ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | pgdog/src/frontend/router/sharding/mapping.rs | 382 | // ── construction ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | pgdog/src/frontend/router/sharding/mapping.rs | 399 | // ── list mapping ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | pgdog/src/frontend/router/sharding/mapping.rs | 448 | // ── range mapping ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | pgdog/src/frontend/router/sharding/mapping.rs | 540 | // ── resolution order ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | pgdog/src/auth/vault.rs | 328 | // ── static_client_password(): config-level error cases ───────────────────── | COMMENT |
| MEDIUM | pgdog/src/auth/vault.rs | 343 | // ── static_client_password(): cache behaviour ─────────────────────────────── | COMMENT |
| MEDIUM | pgdog/src/auth/vault.rs | 402 | // ── static_client_password(): HTTP responses ──────────────────────────────── | COMMENT |
| MEDIUM | pgdog/src/auth/vault.rs | 502 | // ── login(): parameter validation ───────────────────────────────────────── | COMMENT |
| MEDIUM | pgdog/src/auth/vault.rs | 569 | // ── login(): HTTP responses ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | pgdog/src/auth/vault.rs | 612 | // ── vault_token(): cache behaviour ──────────────────────────────────────── | COMMENT |
| MEDIUM | pgdog/src/auth/vault.rs | 627 | // ── client(): namespace header ───────────────────────────────────────────── | COMMENT |
| MEDIUM | pgdog/src/auth/vault.rs | 652 | // ── resolve_passwords() ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | pgdog/src/backend/auth/rds_iam.rs | 110 | // ── infer_region_from_rds_host ─────────────────────────────────────────── | COMMENT |
| MEDIUM | pgdog/src/backend/auth/rds_iam.rs | 143 | // ── resolve_region ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | pgdog/src/backend/auth/vault.rs | 196 | // ── credentials(): config-level error cases ─────────────────────────────── | COMMENT |
| MEDIUM | pgdog/src/backend/auth/vault.rs | 222 | // ── credentials(): HTTP responses ───────────────────────────────────────── | COMMENT |
| MEDIUM | pgdog/src/backend/auth/vault.rs | 317 | // ── static_backend_credentials(): config-level error cases ──────────────── | COMMENT |
| MEDIUM | pgdog/src/backend/auth/vault.rs | 345 | // ── static_backend_credentials(): HTTP responses ─────────────────────────── | COMMENT |
| MEDIUM | …ackend/replication/logical/publisher/publisher_impl.rs | 726 | // ── Helpers ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …g/src/backend/replication/logical/subscriber/stream.rs | 496 | // ── Routing helpers ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …g/src/backend/replication/logical/subscriber/stream.rs | 506 | // ── Shape-cache helpers ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …g/src/backend/replication/logical/subscriber/stream.rs | 753 | // ── FULL identity path ────────────────────────────────────────────── | COMMENT |
| MEDIUM | …g/src/backend/replication/logical/subscriber/stream.rs | 794 | // ── DEFAULT / INDEX path ──────────────────────────────────────────── | COMMENT |
| MEDIUM | …og/src/backend/replication/logical/subscriber/tests.rs | 399 | // ── State machine tests ───────────────────────────────────────────── | COMMENT |
| 27 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cli.sh | 1 | #!/bin/bash | COMMENT |
| LOW | example.pgdog.toml | 1 | #:schema ./.schema/pgdog.schema.json | COMMENT |
| LOW | example.pgdog.toml | 21 | host = "0.0.0.0" | COMMENT |
| LOW | example.pgdog.toml | 41 | # client until they disconnect. | COMMENT |
| LOW | example.pgdog.toml | 61 | # How long to wait for a health check to complete before banning a database. | COMMENT |
| LOW | example.pgdog.toml | 81 | # - round_robin | COMMENT |
| LOW | example.pgdog.toml | 101 | # 'replica'`, or a `/* pgdog_role: replica */` comment. Useful for migrating an | COMMENT |
| LOW | example.pgdog.toml | 121 | # NOTE: if any user sets `server_auth = "rds_iam"` in users.toml, | COMMENT |
| LOW | example.pgdog.toml | 141 | # Default: not set | COMMENT |
| LOW | example.pgdog.toml | 161 | log_level = "info" | COMMENT |
| LOW | example.pgdog.toml | 181 | # Default: extended | COMMENT |
| LOW | example.pgdog.toml | 201 | # | COMMENT |
| LOW | example.pgdog.toml | 221 | # more queries. | COMMENT |
| LOW | example.pgdog.toml | 241 | checkout_timeout = 5_000 | COMMENT |
| LOW | example.pgdog.toml | 261 | # | COMMENT |
| LOW | example.pgdog.toml | 281 | # | COMMENT |
| LOW | example.pgdog.toml | 301 | # Name of the database. This is what your clients will need to specify in | COMMENT |
| LOW | example.pgdog.toml | 461 | # Allows a new cluster to be validated and load tested | COMMENT |
| LOW | example.pgdog.toml | 481 | # Auth method used to log into Vault: "kubernetes" or "approle". | COMMENT |
| LOW | example.users.toml | 21 | # Example: backend authentication with Azure Workload Identity token generation. | COMMENT |
| LOW | example.users.toml | 41 | # Example: backend authentication with a HashiCorp Vault static role. | COMMENT |
| LOW | pgdog-config/src/core.rs | 181 | /// General settings are relevant to the operations of the pooler itself, or apply to all database pools. | COMMENT |
| LOW | pgdog-config/src/core.rs | 201 | pub tcp: Tcp, | COMMENT |
| LOW | pgdog-config/src/core.rs | 221 | /// | COMMENT |
| LOW | pgdog-config/src/core.rs | 241 | /// https://docs.pgdog.dev/features/sharding/omnishards/ | COMMENT |
| LOW | pgdog-config/src/core.rs | 261 | pub replication: Replication, | COMMENT |
| LOW | pgdog-config/src/pooling.rs | 61 | /// https://docs.pgdog.dev/configuration/pgdog.toml/general/#pooler_mode | COMMENT |
| LOW | pgdog-config/src/database.rs | 121 | #[serde(deny_unknown_fields)] | COMMENT |
| LOW | pgdog-config/src/database.rs | 141 | #[serde(default = "Database::port")] | COMMENT |
| LOW | pgdog-config/src/database.rs | 161 | // #[serde(default = "Database::max_connections")] | COMMENT |
| LOW | pgdog-config/src/database.rs | 181 | pub statement_timeout: Option<u64>, | COMMENT |
| LOW | pgdog-config/src/users.rs | 21 | /// | COMMENT |
| LOW | pgdog-config/src/users.rs | 261 | )] | COMMENT |
| LOW | pgdog-config/src/users.rs | 281 | /// The password for the user. Clients will need to provide this when connecting to PgDog. | COMMENT |
| LOW | pgdog-config/src/users.rs | 301 | /// https://docs.pgdog.dev/configuration/users.toml/users/#pooler_mode | COMMENT |
| LOW | pgdog-config/src/users.rs | 321 | /// e.g. `database/creds/my-role` for `server_auth = "vault_dynamic"` or | COMMENT |
| LOW | pgdog-config/src/users.rs | 341 | /// Lock timeout. | COMMENT |
| LOW | pgdog-config/src/users.rs | 361 | /// Sharding target database for replication. | COMMENT |
| LOW | pgdog-config/src/users.rs | 441 | /// | COMMENT |
| LOW | pgdog-config/src/memory.rs | 1 | use schemars::JsonSchema; | COMMENT |
| LOW | pgdog-config/src/auth.rs | 1 | use schemars::JsonSchema; | COMMENT |
| LOW | pgdog-config/src/sharding.rs | 21 | /// | COMMENT |
| LOW | pgdog-config/src/sharding.rs | 41 | pub column: String, | COMMENT |
| LOW | pgdog-config/src/sharding.rs | 61 | /// The data type of the column. Currently supported options are: `bigint`, `uuid`, `varchar`, `vector`. | COMMENT |
| LOW | pgdog-config/src/sharding.rs | 121 | /// A single value-to-shard routing rule within a table's `mapping`. | COMMENT |
| LOW | pgdog-config/src/sharding.rs | 141 | COMMENT | |
| LOW | pgdog-config/src/sharding.rs | 161 | /// 64-bit integer (default). | COMMENT |
| LOW | pgdog-config/src/sharding.rs | 401 | /// Enable automatically when sharding or read/write splitting is configured (default). | COMMENT |
| LOW | pgdog-config/src/otel.rs | 1 | use std::collections::HashMap; | COMMENT |
| LOW | pgdog-config/src/otel.rs | 21 | #[serde(default = "Otel::endpoint")] | COMMENT |
| LOW | pgdog-config/src/otel.rs | 41 | /// [otel.headers] | COMMENT |
| LOW | pgdog-config/src/general.rs | 61 | Serialize, Deserialize, Debug, Copy, Clone, PartialEq, Eq, Hash, Default, JsonSchema, FromStr, | COMMENT |
| LOW | pgdog-config/src/general.rs | 81 | /// | COMMENT |
| LOW | pgdog-config/src/general.rs | 101 | /// | COMMENT |
| LOW | pgdog-config/src/general.rs | 121 | /// | COMMENT |
| LOW | pgdog-config/src/general.rs | 141 | COMMENT | |
| LOW | pgdog-config/src/general.rs | 161 | /// _Default:_ `5000` | COMMENT |
| LOW | pgdog-config/src/general.rs | 181 | /// | COMMENT |
| LOW | pgdog-config/src/general.rs | 201 | /// | COMMENT |
| LOW | pgdog-config/src/general.rs | 221 | #[serde(default)] | COMMENT |
| 154 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | integration/python/test_prepared.py | 26 | def test_prepare_execute_parallel(): | CODE |
| LOW | integration/python/test_asyncpg.py | 300 | async def test_execute_many_cross_shard(conns): | CODE |
| LOW | integration/python/test_asyncpg.py | 366 | async def test_timestamp_sorting_binary_format(): | CODE |
| LOW | integration/python/test_asyncpg.py | 543 | async def test_schema_sharding_transactions(): | STRING |
| LOW | integration/python/test_asyncpg.py | 584 | async def test_schema_sharding_default(): | STRING |
| LOW | integration/python/test_asyncpg.py | 605 | async def test_schema_sharding_search_path(): | STRING |
| LOW | integration/python/test_asyncpg.py | 636 | async def test_pgdog_role_selection(): | STRING |
| LOW | integration/python/test_numeric_binary.py | 9 | async def test_numeric_binary_format(): | CODE |
| LOW | integration/python/test_numeric_binary.py | 114 | async def test_numeric_sorting_binary(): | STRING |
| LOW | integration/python/test_numeric_binary.py | 175 | async def test_numeric_aggregates_binary(): | STRING |
| LOW | integration/python/test_numeric_sorting.py | 11 | async def setup_sharded_numeric_table(conn): | CODE |
| LOW | integration/python/test_numeric_sorting.py | 23 | async def test_numeric_cross_shard_sorting(): | STRING |
| LOW | integration/python/test_numeric_sorting.py | 79 | async def test_numeric_precision_and_edge_cases(): | CODE |
| LOW | integration/python/test_numeric_sorting.py | 135 | async def test_numeric_arithmetic_operations(): | CODE |
| LOW | integration/python/test_sqlalchemy.py | 92 | async def schema_sharding_startup_param(): | CODE |
| LOW | integration/python/test_sqlalchemy.py | 232 | async def test_connection_pool_stress(engines): | CODE |
| LOW | integration/python/test_sqlalchemy.py | 575 | async def test_schema_sharding_with_startup_param_and_set_after_query( | STRING |
| LOW | integration/python/test_psycopg.py | 34 | def test_admin_pgcli_detection(): | CODE |
| LOW | integration/python/test_psycopg.py | 115 | def test_postgres_variants_parameter_limits(count, expect_error_keywords): | CODE |
| LOW | integration/python/test_psycopg.py | 164 | def test_pipeline_many_queries(): | CODE |
| LOW | integration/python/test_psycopg.py | 187 | def test_pipeline_executemany(): | CODE |
| LOW | integration/python/test_psycopg.py | 217 | def test_pipeline_transaction(): | CODE |
| LOW | integration/python/test_psycopg.py | 241 | def test_pipeline_fetch_after_exit(): | CODE |
| LOW | integration/python/test_psycopg.py | 287 | def test_pipeline_query_then_nonpipeline(): | CODE |
| LOW | integration/python/test_psycopg.py | 309 | def test_pipeline_error_recovery(): | CODE |
| LOW | integration/python/test_psycopg.py | 333 | def test_pipeline_multiple_errors(): | CODE |
| LOW | integration/python/test_idle_in_transaction.py | 100 | async def test_idle_in_transaction_timeout(): | CODE |
| LOW | integration/python/test_idle_in_transaction.py | 107 | async def _disconnect_mid_transaction(): | CODE |
| LOW | integration/python/test_idle_in_transaction.py | 144 | async def test_disconnect_mid_transaction_rolls_back(): | CODE |
| LOW | integration/python/test_float_binary.py | 129 | async def test_float_special_values(conns): | CODE |
| LOW | integration/python/test_float_binary.py | 165 | async def test_float_vs_numeric_difference(conns): | CODE |
| LOW | integration/python/test_float_binary.py | 205 | async def test_float_binary_roundtrip(conns): | CODE |
| LOW | integration/python/test_session_mode.py | 29 | async def async_session_conn_no_search_path(): | CODE |
| LOW | integration/python/test_session_mode.py | 40 | def test_session_simple_queries(): | CODE |
| LOW | integration/python/test_session_mode.py | 87 | def test_session_transactions(): | CODE |
| LOW | integration/python/test_session_mode.py | 125 | def test_session_transaction_set_local(): | CODE |
| LOW | integration/python/test_session_mode.py | 138 | def test_session_search_path_visible(): | CODE |
| LOW | integration/python/test_session_mode.py | 150 | def test_session_multiple_statements_in_transaction(): | CODE |
| LOW | integration/python/test_session_mode.py | 200 | def test_no_search_path_cross_shard_insert_blocked(): | CODE |
| LOW | integration/python/test_session_mode.py | 212 | def test_no_search_path_cross_shard_update_blocked(): | CODE |
| LOW | integration/python/test_session_mode.py | 223 | async def test_async_session_simple_queries(): | CODE |
| LOW | integration/python/test_session_mode.py | 233 | async def test_async_session_ddl_and_dml(): | CODE |
| LOW | integration/python/test_session_mode.py | 269 | async def test_async_session_transactions(): | CODE |
| LOW | integration/python/test_session_mode.py | 306 | async def test_async_session_transaction_set_local(): | CODE |
| LOW | integration/python/test_session_mode.py | 318 | async def test_async_session_search_path_visible(): | CODE |
| LOW | integration/python/test_session_mode.py | 328 | async def test_async_session_multiple_statements_in_transaction(): | CODE |
| LOW | integration/python/test_session_mode.py | 351 | async def test_no_search_path_session_mode(): | CODE |
| LOW | integration/python/test_session_mode.py | 361 | async def test_unrecognized_aggregate_function_works_on_schema_based_sharding(): | CODE |
| LOW | integration/python/test_psycopg2.py | 102 | def test_transaction_reads_explicit(conn_reads, conn_writes): | CODE |
| LOW⚡ | integration/prefer_primary/test_prefer_primary.py | 37 | async def test_default_routes_to_primary(conn): | CODE |
| LOW⚡ | integration/prefer_primary/test_prefer_primary.py | 44 | async def test_session_set_replica_routes_to_replica(conn): | CODE |
| LOW⚡ | integration/prefer_primary/test_prefer_primary.py | 52 | async def test_session_reset_back_to_primary(conn): | CODE |
| LOW | integration/prefer_primary/test_prefer_primary.py | 63 | async def test_query_comment_routes_to_replica(conn): | CODE |
| LOW | integration/two_pc_crash_safety/rspec_helper.rb | 109 | def wait_for_no_prepared_xacts(timeout: 30) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | integration/load_balancer/test_lb_asyncpy.py | 30 | """, 1, "test@test.com", datetime.now(), json.dumps({"banned": False})) | STRING |
| LOW⚡ | integration/load_balancer/test_lb_asyncpy.py | 35 | assert row[1] == "test@test.com" | STRING |
| LOW⚡ | integration/load_balancer/test_lb_asyncpy.py | 41 | assert row[0][1] == "test@test.com" | STRING |
| LOW | integration/python/test_sqlalchemy.py | 129 | Sharded(id=1, value="test@test.com"), | CODE |
| LOW | integration/rust/tests/integration/distinct.rs | 14 | for email in ["test@test.com", "apples@test.com"] { | CODE |
| LOW | integration/rust/tests/integration/distinct.rs | 52 | vec!["apples@test.com".to_string(), "test@test.com".to_string()] | CODE |
| LOW | integration/schema_sync/ecommerce_schema.sql | 952 | ('admin@example.com', 'admin', '$2a$10$abcdefghijklmnopqrstuv', 'Admin', 'User', '+1234567892', '1980-01-01', 'active', | CODE |
| LOW | …ntend/client/query_engine/test/rewrite_insert_split.rs | 39 | Parameter::new("test@test.com".as_bytes()), | CODE |
| LOW | …ntend/client/query_engine/test/rewrite_insert_split.rs | 56 | ("1".as_bytes(), "test@test.com".as_bytes()), | CODE |
| LOW | …ntend/client/query_engine/test/rewrite_insert_split.rs | 84 | Parameter::new("test@test.com".as_bytes()), | CODE |
| LOW | …ntend/client/query_engine/test/rewrite_insert_split.rs | 95 | ("1".as_bytes(), "test@test.com".as_bytes()), | CODE |
| LOW | …ntend/client/query_engine/test/rewrite_insert_split.rs | 116 | "INSERT INTO test (id, email) VALUES (1, 'test@test.com'), (2, 'test2@test.com') RETURNING *", | CODE |
| LOW | …ntend/client/query_engine/test/rewrite_insert_split.rs | 125 | "INSERT INTO test (id, email) VALUES (1, 'test@test.com') RETURNING *" | CODE |
| LOW | pgdog/src/frontend/router/parser/column.rs | 270 | let result = parse("INSERT INTO my_table (id, email) VALUES (1, 'test@test.com')").unwrap(); | CODE |
| LOW | pgdog/src/frontend/router/parser/column.rs | 291 | let query = parse("INSERT INTO my_table (id, email) VALUES (1, 'test@test.com')").unwrap(); | CODE |
| LOW | pgdog/src/frontend/router/parser/query/explain.rs | 236 | &[b"11", b"test@test.com"], | CODE |
| LOW | pgdog/src/frontend/router/parser/query/explain.rs | 335 | &[b"1", b"test@test.com"], | CODE |
| LOW | pgdog/src/frontend/router/parser/query/test/mod.rs | 214 | ["11".as_bytes(), "test@test.com".as_bytes()] | CODE |
| LOW | …/src/frontend/router/parser/query/test/test_special.rs | 153 | &[Parameter::new(b"5"), Parameter::new(b"test@test.com")], | CODE |
| LOW | pgdog/src/frontend/router/parser/query/test/test_dml.rs | 18 | &[Parameter::new(b"11"), Parameter::new(b"test@test.com")], | CODE |
| LOW | pgdog/src/frontend/router/parser/query/test/test_dml.rs | 80 | &[Parameter::new(b"1"), Parameter::new(b"test@test.com")], | CODE |
| LOW | …ntend/router/parser/query/test/test_schema_sharding.rs | 242 | Query::new("INSERT INTO shard_0.sharded (id, email) VALUES (999, 'test@test.com')").into(), | CODE |
| LOW | …dog/src/backend/replication/logical/subscriber/copy.rs | 446 | let email = Data::Column(Bytes::copy_from_slice("test@test.com".as_bytes())); | CODE |
| LOW | pgdog/src/backend/pool/connection/buffer.rs | 303 | let emails = ["test@test.com", "admin@test.com"]; | CODE |
| LOW | pgdog/src/backend/pool/connection/buffer.rs | 582 | for email in ["test@test.com", "apples@test.com", "domain@test.com"] { | CODE |
| LOW | pgdog/src/backend/pool/connection/buffer.rs | 616 | for email in ["test@test.com", "apples@test.com", "domain@test.com"] { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | integration/copy_data/commit_sync/run.sh | 81 | # Step 1: load source schema + data, and create the destination table empty on each shard. | COMMENT |
| LOW⚡ | integration/copy_data/commit_sync/run.sh | 88 | # Step 2: start toxiproxy and create one proxy per shard (one severable link each). | COMMENT |
| LOW | integration/copy_data/commit_sync/run.sh | 101 | # Step 3: size the toxic to let every data byte through and sever only the trailing | COMMENT |
| LOW | integration/copy_data/commit_sync/run.sh | 118 | # Step 4: sever shard 2 at its CopyDone, run data-sync in the background, then heal it while | COMMENT |
| LOW | integration/copy_data/commit_sync/run.sh | 145 | # Step 5: the retry must recover. data-sync should exit cleanly and every shard should | COMMENT |
| LOW | pgdog/src/frontend/client/mod.rs | 254 | // Get the password. We always need it because we need to check if | COMMENT |
| LOW⚡ | pgdog/src/backend/pool/taken.rs | 185 | // Step 1: take A. | COMMENT |
| LOW⚡ | pgdog/src/backend/pool/taken.rs | 189 | // Step 3: F retakes with B before A's deferred check-in fires. | COMMENT |
| LOW⚡ | pgdog/src/backend/pool/taken.rs | 194 | // Step 4: deferred check-in for A. Must NOT touch F's entry, | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | integration/copy_data/commit_sync/run.sh | 81 | # Step 1: load source schema + data, and create the destination table empty on each shard. | COMMENT |
| LOW⚡ | integration/copy_data/commit_sync/run.sh | 88 | # Step 2: start toxiproxy and create one proxy per shard (one severable link each). | COMMENT |
| LOW | integration/copy_data/commit_sync/run.sh | 101 | # Step 3: size the toxic to let every data byte through and sever only the trailing | COMMENT |
| LOW | integration/copy_data/commit_sync/run.sh | 118 | # Step 4: sever shard 2 at its CopyDone, run data-sync in the background, then heal it while | COMMENT |
| LOW | integration/copy_data/commit_sync/run.sh | 145 | # Step 5: the retry must recover. data-sync should exit cleanly and every shard should | COMMENT |
| LOW⚡ | pgdog/src/backend/pool/taken.rs | 185 | // Step 1: take A. | COMMENT |
| LOW⚡ | pgdog/src/backend/pool/taken.rs | 189 | // Step 3: F retakes with B before A's deferred check-in fires. | COMMENT |
| LOW⚡ | pgdog/src/backend/pool/taken.rs | 194 | // Step 4: deferred check-in for A. Must NOT touch F's entry, | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | integration/copy_data/loader/loader.py | 132 | CODE | |
| LOW | integration/copy_data/loader/loader.py | 188 | CODE | |
| LOW | integration/copy_data/loader/loader.py | 237 | CODE | |
| LOW | integration/copy_data/loader/loader.py | 292 | CODE | |
| LOW | integration/copy_data/loader/loader.py | 357 | CODE | |
| LOW | integration/python/test_numeric_binary.py | 9 | CODE | |
| LOW | integration/python/test_sqlalchemy.py | 232 | CODE | |
| LOW | integration/python/test_sqlalchemy.py | 280 | CODE | |
| LOW | integration/python/test_psycopg.py | 115 | CODE | |
| LOW | integration/python/test_float_binary.py | 249 | CODE | |
| LOW | integration/logical/gutenberg.py | 25 | CODE | |
| LOW | integration/sql/lib.py | 239 | CODE | |
| LOW | integration/sql/lib.py | 278 | CODE | |
| LOW | integration/sql/lib.py | 358 | CODE | |
| LOW | pgdog/tests/vector/read_parquet.py | 17 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | integration/copy_data/loader/loader.py | 11 | CODE | |
| LOW | integration/copy_data/loader/loader.py | 15 | CODE | |
| LOW | integration/python/test_numeric_binary.py | 1 | CODE | |
| LOW | integration/python/test_numeric_binary.py | 5 | CODE | |
| LOW | integration/python/test_numeric_sorting.py | 5 | CODE | |
| LOW | integration/python/test_sqlalchemy.py | 1 | CODE | |
| LOW | integration/python/test_float_binary.py | 3 | CODE | |
| LOW | integration/sql/lib.py | 1 | CODE | |
| LOW | pgdog/tests/vector/read_parquet.py | 2 | CODE | |
| LOW | pgdog/tests/vector/read_parquet.py | 8 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | integration/load_balancer/test_lb_asyncpy.py | 77 | except Exception as e: | STRING |
| LOW | integration/python/test_asyncpg.py | 35 | except Exception as e: | CODE |
| LOW | integration/python/test_asyncpg.py | 320 | except Exception as e: | CODE |
| LOW | integration/python/test_asyncpg.py | 599 | except Exception as e: | STRING |
| LOW | integration/python/test_sqlalchemy.py | 544 | except Exception as e: | STRING |
| LOW | integration/python/test_idle_in_transaction.py | 72 | except Exception as e: | CODE |
| LOW | integration/python/test_session_mode.py | 294 | except Exception: | CODE |
| LOW | integration/complex/cancel_query/run.py | 55 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | benches/resharding/copy_data/run.sh | 11 | # Usage: | COMMENT |
| LOW | benches/resharding/replication/run.sh | 8 | # Usage: | COMMENT |
| LOW | benches/resharding/toxi/setup.sh | 17 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | integration/two_pc_crash_safety/setup.sh | 6 | # Create the per-shard table so cross-shard transactions have something | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …dog/src/backend/replication/logical/subscriber/copy.rs | 215 | // TODO: implement complete 2pc to copy data to minimize chances of partial commits even more | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | integration/sql/lib.py | 452 | __all__ = [ | CODE |