Postgres rewritten in Rust, now faster than Postgres and Clickhouse
This report summarizes scanner evidence for malisper/pgrust, a Rust project with 5,713 GitHub stars. SynthScan examined 5,460,506 lines of code across 13165 source files, recording 7546 pattern matches distributed across 23 syntactic categories. The legacy adjusted pattern signal is 1.6 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 7298 finding(s).
Are imports declared and package/API names verified? 79 finding(s).
Are wrappers, guards, and repeated structures necessary? 172 finding(s).
Which changes need focused human review? 7546 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 7546 distinct pattern matches across 23 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Cargo.toml | 1021 | # mi_arena_purge_now(arena_id, force), one arena's freed ranges purged now under the arenas' purge try-guard (pgrust's | COMMENT |
| LOW | crates/pl/plpgsql/src/gram.rs | 3001 | COMMENT | |
| LOW | crates/pl/plpgsql/src/exec.rs | 1 | // pl_exec.c. Statement set: block (incl. EXCEPTION sections), assign, | COMMENT |
| LOW | crates/pl/plpgsql/src/exec.rs | 741 | /// here the check is deferred to the first evaluation, as before). | COMMENT |
| LOW | crates/pl/plpgsql/src/exec.rs | 761 | // PLpgSQL_expr.expr_simple_state + expr_simple_plan/plansource + the type | COMMENT |
| LOW | crates/pl/plpgsql/src/exec.rs | 801 | // Datum references compile to ParamCallback steps (C EEOP_PARAM_CALLBACK | COMMENT |
| LOW | crates/pl/plpgsql/src/exec.rs | 821 | // exiting — the pin bookkeeping is already gone with the cache. | COMMENT |
| LOW | crates/pl/plpgsql/src/exec.rs | 881 | // task's compiled functions. This port's pool retains the worker THREAD across | COMMENT |
| LOW | crates/pl/plpgsql/src/exec.rs | 2081 | // re-prepares whenever the probe says the source needs re-analysis | COMMENT |
| LOW | crates/pl/plpgsql/src/exec.rs | 2361 | push_name(&mut names, &mut seen, whole_row.clone()); | COMMENT |
| LOW | crates/pl/plpgsql/src/exec.rs | 3661 | } | COMMENT |
| LOW | crates/pl/plpgsql/src/handler.rs | 61 | // have the decrement land on a different entry (funccache.c use_count). | COMMENT |
| LOW | crates/pl/plpgsql/src/handler.rs | 1021 | // The extra-check mask of a stored plpgsql.extra_* value. The check hook | COMMENT |
| LOW | …es/gravity/kernels/tests/sort_v4r190_decorated_sort.rs | 1 | //! V4R-190 (M3-MERGE): `agg_sort` orders records whose sort words carry no average and no text through word rows | COMMENT |
| LOW | crates/gravity/kernels/tests/gravity_kernels_suite.rs | 1 | //! gravity_kernels's integration tests (tests/<stem>.rs) that can share one process, as ONE test binary: one module | COMMENT |
| LOW | crates/gravity/kernels/tests/registered.rs | 1 | //! The integration test files of gravity_kernels: tests/*.rs and tests/*/main.rs, what cargo's autotests would build. | COMMENT |
| LOW | crates/gravity/kernels/tests/registered.rs | 41 | const ROOT_ONLY: [&str; 2] = ["#[global_allocator]", "current_exe("]; | COMMENT |
| LOW | crates/gravity/kernels/src/contract.rs | 41 | /// # Safety | COMMENT |
| LOW | crates/gravity/kernels/src/host_abi/v4/m7.rs | 1 | //! M7's host entries (M7-plan.md §6, cards/M7.md L1 / L2 hosts): the C-ABI functions M7's lowered IR calls for the join | COMMENT |
| LOW | crates/gravity/kernels/src/host_abi/v4/mod.rs | 1 | //! Lowerer v4's host entries (docs/gravity/lowerv4/plan.md §4.3): the C-ABI functions lowered IR calls, one module per | COMMENT |
| LOW | crates/gravity/kernels/src/typesem/userfp.rs | 1 | //! USEROP (D1604 / D1889 serve): `m6_user_fp`, the exact image of a user key (gravity_fn typesem keysem/user.rs): the F | COMMENT |
| LOW | crates/gravity/kernels/src/typesem/userfp.rs | 361 | /// # Safety | COMMENT |
| LOW | crates/gravity/kernels/src/par_hashagg/hand.rs | 1 | //! The `par_hashagg` kernel: the accumulator front, the fold, the owner set and the emits (the params, `spill_bits` and | COMMENT |
| LOW | crates/gravity/kernels/src/table/fold_entries.rs | 61 | } | COMMENT |
| LOW | crates/gravity/kernels/src/table/fold_entries.rs | 101 | /// D3809: the bytes a started-small region's partitions are cut by, from the driver's `need` 0 answer: its share, else | COMMENT |
| LOW | crates/gravity/kernels/src/table/fold_entries.rs | 141 | } | COMMENT |
| LOW | crates/gravity/kernels/src/table/fold_entries.rs | 281 | let t = (*st).t.ptr(); | COMMENT |
| LOW | crates/gravity/kernels/src/table/fold_entries.rs | 621 | pub const CASCADE_HDR: usize = 3; | COMMENT |
| LOW | crates/gravity/kernels/src/table/route.rs | 1 | //! The route of a grouped count(DISTINCT)'s pairs (STEP-19, gap-optoverfit mechanism R). It replaces `GROUPED_MIN` = 1 | COMMENT |
| LOW | crates/gravity/kernels/src/table/route.rs | 21 | //! | COMMENT |
| LOW | crates/gravity/kernels/src/table/emit.rs | 101 | pub const SK_BPCHAR: u64 = 1 << 15; | COMMENT |
| LOW | crates/gravity/kernels/src/table/emit.rs | 581 | /// claims. The runs form only (`FORM_RUNS`); null: refused. The lowered emit calls it at a claim's fresh call only | COMMENT |
| LOW | crates/gravity/kernels/src/table/emit.rs | 1881 | COMMENT | |
| LOW | crates/gravity/kernels/src/table/img_reclaim.rs | 1 | //! D3312: a phase-1 table's key images reclaimed at an in-memory compact. Budget 150 lines. | COMMENT |
| LOW | crates/gravity/kernels/src/ops/agg/raw.rs | 1 | //! agg's raw half (rules R6 / R8: the family's unsafe code lives here): the aggregate slice's host entries, written | COMMENT |
| LOW | crates/gravity/kernels/src/ops/agg/trans/hosted.rs | 21 | /// aggpresorted ORDER BY aggregate advances per row as its rows come (nodeAgg with `aggsortrequired` false: no run kept | COMMENT |
| LOW | crates/gravity/kernels/src/ops/agg/trans/entries/raw.rs | 1 | //! entries.rs's host entries and the unsafe reads under them. Each entry is a `contract::host` function under the one | COMMENT |
| LOW | crates/gravity/kernels/src/ops/agg/trans/hosted/raw.rs | 21 | /// (0 for a by-value one); the image lives until the slot's next final call. | COMMENT |
| LOW | crates/gravity/kernels/src/ops/agg/trans/hosted/raw.rs | 41 | /// D1520: the addresses of the direct arguments of the final `m6_agg_final_direct` is making (0 outside one): per | COMMENT |
| LOW | crates/gravity/kernels/src/ops/agg/trans/hosted/raw.rs | 161 | ((*head).direct, (*head).given) = (0, 0); | COMMENT |
| LOW | crates/gravity/kernels/src/ops/sort/cut.rs | 1 | //! M3-TOPS' cut (runs.topk_rows, bound_first; cards/M3.md L3): a sort run ordered in place by its `pad[2]` bits (as | COMMENT |
| LOW | crates/gravity/kernels/src/ops/sort/cut.rs | 41 | } | COMMENT |
| LOW | crates/gravity/kernels/src/ops/sort/rowsort.rs | 161 | /// A hosted key whose comparator cannot raise on two equal copies (the lowering's word, from the key's type: no collata | COMMENT |
| LOW | crates/gravity/kernels/src/ops/sort/polled.rs | 1 | //! C9's kernel face (D4140): the one polled step of the kernels crate's host code. The kernels | COMMENT |
| LOW | crates/gravity/kernels/src/ops/sort/runs.rs | 21 | /// `n - 1` the bound exec v4/m3_sort.rs `run_bound` reads; cleared when the run is emptied (a put, an open's empty run) | COMMENT |
| LOW | crates/gravity/kernels/src/ops/sort/topk.rs | 21 | /// have taken a new least code, each starting a rest; any other replacement sets it to 0) and the calls left while the | COMMENT |
| LOW | crates/gravity/kernels/src/ops/sort/topn/twopass_top.rs | 1 | //! keyed.twopass's pass-1 export owner under the top rule (V4R-192; the ladder's `EXPORT_DUPS`, kernels cb/t3.rs | COMMENT |
| LOW | crates/gravity/kernels/src/ops/sort/raw/runs.rs | 21 | COMMENT | |
| LOW | …/gravity/kernels/src/ops/group/raw/entries_distinct.rs | 21 | /// NEW-40: the runs word `agg_distinct_window` writes at `st + (arg >> 32)` when that offset is not 0, over a taken win | COMMENT |
| LOW | crates/gravity/kernels/src/ops/srf/raw.rs | 101 | /// A store reader's head (H-c's incumbent FunctionScan; H-d's table function and H-e's ENR take the same face): the | COMMENT |
| LOW | crates/gravity/kernels/src/ops/shared/object/entries.rs | 1 | //! M8's host entries (M8-plan.md §1.4 / §6, cards/M8.md L1 / L2): the C-ABI functions M8's lowered IR calls for nests | COMMENT |
| LOW | crates/gravity/kernels/src/ops/shared/object/entries.rs | 21 | //! unchanged. Each entry is listed in the `hosts:` rows of the lowerv4 file that calls it. | COMMENT |
| LOW | crates/gravity/kernels/src/ops/shared/object/entries.rs | 41 | /// The SubHash proto's `arg` bit of an `unknownEqFalse` SubPlan's set: as PG's `buildSubPlanHash` without `hashnulls`, | COMMENT |
| LOW | crates/gravity/kernels/src/ops/shared/object/entries.rs | 81 | /// D2034: raw.rs `RerunPull`'s code on a rerun set's object (a recursive union's streamed term). | COMMENT |
| LOW | crates/gravity/kernels/src/ops/shared/object/entries.rs | 101 | /// first read (its per-thread frame pair, cards/M8.md L0-b / L0-c), which returns the pair's address once the values | COMMENT |
| LOW | crates/gravity/kernels/src/ops/scan/raw.rs | 1 | //! The scan family's raw half in kernels (rules R6 / R8): the IR host entries of the scan family, | COMMENT |
| LOW | crates/gravity/kernels/src/ops/scan/raw.rs | 21 | #[guard(i64::MIN as u64)] | COMMENT |
| LOW | crates/gravity/kernels/src/ops/scan/raw.rs | 61 | } | COMMENT |
| LOW | crates/gravity/kernels/src/ops/scan/entries_heap.rs | 1 | //! M2's heap page-window entries (cards/M2.md L1, road `heap.pages`): the IR's page protocol over a raw-page heap site | COMMENT |
| LOW | crates/gravity/kernels/src/ops/setop/entries.rs | 1 | //! M9's host entries (W8-RECURSE: `setop.recursive`, PostgreSQL's RecursiveUnion, nodeRecursiveunion.c): the layout of | COMMENT |
| 6633 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | crates/gravity/lint/rules/run.py | 434 | # --------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | crates/gravity/lint/rules/common.py | 103 | # --------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | crates/gravity/lint/rules/common.py | 272 | # --------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | crates/gravity/lint/rules/common.py | 319 | # --------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | crates/gravity/lint/rules/rr_road_registry.py | 451 | # --------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | crates/gravity/lint/reports/dup_census.py | 149 | # --------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | crates/gravity/lint/reports/dup_census.py | 217 | # --------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | crates/gravity/lint/reports/dup_census.py | 540 | # --------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …s/postgres-18.6-reference/src/tools/gen_keywordlist.pl | 1 | #---------------------------------------------------------------------- | COMMENT |
| MEDIUM | …s/postgres-18.6-reference/src/tools/gen_keywordlist.pl | 29 | #---------------------------------------------------------------------- | COMMENT |
| MEDIUM | crates/postgres-18.6-reference/src/tools/PerfectHash.pm | 1 | #---------------------------------------------------------------------- | COMMENT |
| MEDIUM | crates/postgres-18.6-reference/src/tools/PerfectHash.pm | 28 | #---------------------------------------------------------------------- | COMMENT |
| MEDIUM | crates/postgres-18.6-reference/src/tools/msvc_gendef.pl | 33 | # ------------------------------------------------------------------------ | COMMENT |
| MEDIUM | …/postgres-18.6-reference/src/tools/mark_pgdllimport.pl | 3 | #---------------------------------------------------------------------- | COMMENT |
| MEDIUM | …/postgres-18.6-reference/src/tools/mark_pgdllimport.pl | 23 | #---------------------------------------------------------------------- | COMMENT |
| MEDIUM | …e/src/test/recovery/t/044_invalidate_inactive_slots.pl | 40 | # ======================================================================== | COMMENT |
| MEDIUM | …e/src/test/recovery/t/044_invalidate_inactive_slots.pl | 103 | # ============================================================================= | COMMENT |
| MEDIUM | ….6-reference/src/test/recovery/t/019_replslot_limit.pl | 413 | # ============================================================================= | COMMENT |
| MEDIUM | ….6-reference/src/test/recovery/t/019_replslot_limit.pl | 478 | # ============================================================================= | COMMENT |
| MEDIUM | ….6-reference/src/test/recovery/t/019_replslot_limit.pl | 480 | # ============================================================================= | COMMENT |
| MEDIUM | ….6-reference/src/test/recovery/t/019_replslot_limit.pl | 538 | # ============================================================================= | COMMENT |
| MEDIUM | ….6-reference/src/test/subscription/t/028_row_filter.pl | 23 | # ==================================================================== | COMMENT |
| MEDIUM | ….6-reference/src/test/subscription/t/028_row_filter.pl | 77 | # ==================================================================== | COMMENT |
| MEDIUM | ….6-reference/src/test/subscription/t/028_row_filter.pl | 79 | # ==================================================================== | COMMENT |
| MEDIUM | ….6-reference/src/test/subscription/t/028_row_filter.pl | 179 | # ==================================================================== | COMMENT |
| MEDIUM | ….6-reference/src/test/subscription/t/028_row_filter.pl | 181 | # ====================================================== | COMMENT |
| MEDIUM | ….6-reference/src/test/subscription/t/028_row_filter.pl | 800 | # ====================================================== | COMMENT |
| MEDIUM | …s-18.6-reference/src/test/subscription/t/014_binary.pl | 43 | # ------------------------------------------------------ | COMMENT |
| MEDIUM | …s-18.6-reference/src/test/subscription/t/014_binary.pl | 45 | # ------------------------------------------------------ | COMMENT |
| MEDIUM | …s-18.6-reference/src/test/subscription/t/014_binary.pl | 84 | # ---------------------------------- | COMMENT |
| MEDIUM | …s-18.6-reference/src/test/subscription/t/014_binary.pl | 86 | # ---------------------------------- | COMMENT |
| MEDIUM | …s-18.6-reference/src/test/subscription/t/014_binary.pl | 135 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | …s-18.6-reference/src/test/subscription/t/014_binary.pl | 137 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | …s-18.6-reference/src/test/subscription/t/014_binary.pl | 180 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …s-18.6-reference/src/test/subscription/t/014_binary.pl | 182 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | …s-18.6-reference/src/test/subscription/t/014_binary.pl | 243 | # ----------------------------------------------------- | COMMENT |
| MEDIUM | …s-18.6-reference/src/test/subscription/t/014_binary.pl | 245 | # ----------------------------------------------------- | COMMENT |
| MEDIUM | …nce/src/test/subscription/t/032_subscribe_use_index.pl | 24 | # ============================================================================= | COMMENT |
| MEDIUM | …nce/src/test/subscription/t/032_subscribe_use_index.pl | 90 | # ============================================================================= | COMMENT |
| MEDIUM | …nce/src/test/subscription/t/032_subscribe_use_index.pl | 92 | # ============================================================================= | COMMENT |
| MEDIUM | …nce/src/test/subscription/t/032_subscribe_use_index.pl | 178 | # ============================================================================= | COMMENT |
| MEDIUM | …nce/src/test/subscription/t/032_subscribe_use_index.pl | 180 | # ============================================================================= | COMMENT |
| MEDIUM | …nce/src/test/subscription/t/032_subscribe_use_index.pl | 264 | # ============================================================================= | COMMENT |
| MEDIUM | …nce/src/test/subscription/t/032_subscribe_use_index.pl | 266 | # ============================================================================= | COMMENT |
| MEDIUM | …nce/src/test/subscription/t/032_subscribe_use_index.pl | 345 | # ============================================================================= | COMMENT |
| MEDIUM | …nce/src/test/subscription/t/032_subscribe_use_index.pl | 347 | # ============================================================================= | COMMENT |
| MEDIUM | …nce/src/test/subscription/t/032_subscribe_use_index.pl | 408 | # ============================================================================= | COMMENT |
| MEDIUM | …nce/src/test/subscription/t/032_subscribe_use_index.pl | 410 | # ============================================================================= | COMMENT |
| MEDIUM | …nce/src/test/subscription/t/032_subscribe_use_index.pl | 479 | # ============================================================================= | COMMENT |
| MEDIUM | …nce/src/test/subscription/t/032_subscribe_use_index.pl | 481 | # ============================================================================= | COMMENT |
| MEDIUM | …nce/src/test/subscription/t/032_subscribe_use_index.pl | 548 | # ============================================================================= | COMMENT |
| MEDIUM | …8.6-reference/src/test/subscription/t/011_generated.pl | 104 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | …8.6-reference/src/test/subscription/t/011_generated.pl | 121 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | …8.6-reference/src/test/subscription/t/011_generated.pl | 125 | # -------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …8.6-reference/src/test/subscription/t/011_generated.pl | 129 | # -------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …8.6-reference/src/test/subscription/t/011_generated.pl | 220 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | …8.6-reference/src/test/subscription/t/011_generated.pl | 230 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | …8.6-reference/src/test/subscription/t/011_generated.pl | 232 | # -------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …8.6-reference/src/test/subscription/t/011_generated.pl | 235 | # -------------------------------------------------- | COMMENT |
| MEDIUM | …8.6-reference/src/test/subscription/t/011_generated.pl | 281 | # -------------------------------------------------- | COMMENT |
| 73 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | crates/gravity/lowerv4_it/Cargo.toml | 2 | # as a test-only package (BD-3). cargo gives every dev-dependency to a lib's unit-test harness as well, and the rig | COMMENT |
| MEDIUM | crates/gravity/lowerv4/Cargo.toml | 8 | # to the lib unit-test harness too, and the rig needs gravity_exec, so with the tests here this crate's 537 unit tests | COMMENT |
| MEDIUM | crates/bin/fuzzgen/Cargo.toml | 30 | # Antithesis harness builds only: Rng::next_u64 draws from the SDK entropy | COMMENT |
| MEDIUM | …/postgres-18.6-reference/contrib/amcheck/t/005_pitr.pl | 35 | # VACUUM to delete the aforementioned leaf page. Force an XLogFlush() by | COMMENT |
| LOW | …postgres-18.6-reference/src/pl/tcl/sql/pltcl_setup.sql | 194 | # If not a Postgres error, just return the basic error message | COMMENT |
| LOW | crates/postgres-18.6-reference/src/tools/PerfectHash.pm | 76 | # It's not worth passing this around as a parameter; just use a global. | COMMENT |
| LOW | …ostgres-18.6-reference/src/test/kerberos/t/001_auth.pl | 16 | # just add whatever other tests are needed to here. | COMMENT |
| MEDIUM | …s/postgres-18.6-reference/src/test/ssl/t/SSL/Server.pm | 74 | # mode and this way they will find a port to run on in a more robust way. | COMMENT |
| MEDIUM | …src/test/recovery/t/053_standby_login_event_trigger.pl | 15 | # To keep the test robust the event trigger is set up in a dedicated | COMMENT |
| LOW | …6-reference/src/test/recovery/t/015_promotion_pages.pl | 55 | # Now just use a dummy table and run some operations to move minRecoveryPoint | COMMENT |
| MEDIUM | …8.6-reference/src/test/perl/PostgreSQL/Test/Cluster.pm | 1832 | # so callers can harness this port for the widest range of purposes. | COMMENT |
| LOW | …8.6-reference/src/test/perl/PostgreSQL/Test/Cluster.pm | 2184 | # because of a timeout and the caller requested to handle that, just return | COMMENT |
| LOW | …8.6-reference/src/test/perl/PostgreSQL/Test/Cluster.pm | 3326 | # Before release 12 walreceiver just set the application name to | COMMENT |
| MEDIUM | …8.6-reference/src/test/perl/PostgreSQL/Test/Cluster.pm | 3336 | # harness won't accept a skip; otherwise, it won't accept | COMMENT |
| LOW | …-reference/src/test/modules/test_pg_dump/t/001_base.pl | 27 | # test_key indicates that a given run should simply use the same | COMMENT |
| LOW | …stgres-18.6-reference/src/bin/pg_dump/t/002_pg_dump.pl | 20 | # test_key indicates that a given run should simply use the same | COMMENT |
| LOW | …postgres-18.6-reference/src/backend/catalog/Catalog.pm | 332 | # parse. We can't just use a regex because of values in | COMMENT |
| LOW | …/postgres-18.6-reference/src/backend/catalog/genbki.pl | 323 | # special SQL names for types etc; we just use the names in the source | COMMENT |
| LOW | …es-18.6-reference/src/interfaces/ecpg/preproc/parse.pl | 507 | # Not a nonterminal declaration, so just add it to $line. | COMMENT |
| MEDIUM | crates/backend/access/transam/xlogutils/Cargo.toml | 12 | # Antithesis harness builds only (antithesis/ directory): the FPI-restore | COMMENT |
| MEDIUM | crates/backend/access/heap/heaptoast/src/lib.rs | 60 | // notes/vacuum-morsels.md). The pre-check keeps seamless contexts (pure | COMMENT |
| MEDIUM | crates/backend/access/pgrcolumnar/pgrc_qa/Cargo.toml | 7 | # harness binary. | COMMENT |
| MEDIUM | …ckend/access/pgrcolumnar/pgrc_qa/tests/kill9_ladder.rs | 12 | //! The #254 leg runs the harness in `--no-commit-last` mode: a logged | COMMENT |
| MEDIUM | …ates/backend/access/pgrcolumnar/pgrc_qa/src/harness.rs | 126 | /// is false the final round publishes but never writes its commit record (the #254 shape), and the harness exits. | COMMENT |
| MEDIUM | crates/backend/access/pgrcolumnar/pgrc_write/Cargo.toml | 52 | # RealVfs (production); MemVfs and the sim harness never see governor ops | COMMENT |
| MEDIUM | crates/backend/postmaster/launch_backend/Cargo.toml | 12 | # cfg comes from harness/CI RUSTFLAGS only (law §0.1 of sim-net-e2e). | COMMENT |
| MEDIUM | crates/backend/tcop/postgres/Cargo.toml | 121 | # P4 sim-net harness (cfg pgrust_sim; both crates are empty/off-path otherwise) | COMMENT |
| MEDIUM | crates/backend/utils/misc/guc_tables/Cargo.toml | 26 | # only by the sim harness's RUSTFLAGS; gates the "clone" file_copy_method | COMMENT |
| MEDIUM | crates/backend/utils/misc/guc/Cargo.toml | 43 | # only by the sim harness's RUSTFLAGS; gates the file_copy_method=clone | COMMENT |
| MEDIUM | crates/backend/utils/adt/arrayfuncs/src/io.rs | 870 | // function has to be robust enough to cope with invalid data. However, | COMMENT |
| MEDIUM | crates/backend/utils/adt/jsonpath/src/lib.rs | 18 | // CHECK_FOR_INTERRUPTS(): the InterruptPending pre-check keeps seamless | COMMENT |
| MEDIUM | crates/backend/utils/adt/oracle_compat/src/lib.rs | 53 | // keeps seamless contexts (pure unit tests) off the seam. | COMMENT |
| MEDIUM | crates/backend/utils/adt/numeric/src/math.rs | 609 | // Estimate log10(abs(ln(var))); robust against invalid ln() inputs (returns 0). | COMMENT |
| MEDIUM | crates/backend/storage/lmgr/lmgr_proc/Cargo.toml | 30 | # KilledBySignal) for the panic-robust PGPROC release in ProcKill / | COMMENT |
| MEDIUM | crates/backend/storage/file/vfs/Cargo.toml | 18 | # set exclusively by the sim harness's RUSTFLAGS — never in .cargo/config, any | COMMENT |
| MEDIUM | crates/backend/storage/file/vfs/src/asset-manifest.toml | 17 | # Share-tree asset roots, relative to the share dir the harness names via | COMMENT |
| MEDIUM | crates/backend/storage/file/fd/Cargo.toml | 51 | # only by the sim harness's RUSTFLAGS; fd's sim-only regression tests use it. | COMMENT |
| MEDIUM | crates/backend/storage/file/write_governor/Cargo.toml | 14 | # (see resolve()), so the sim harness never sees governor-injected ops. | COMMENT |
| MEDIUM | crates/backend/main/main_main/Cargo.toml | 23 | # Antithesis harness builds only (antithesis/ directory): SDK assertions + | COMMENT |
| MEDIUM | crates/backend/main/main_main/Cargo.toml | 25 | # none of it. The harness image build (root Dockerfile, ARG ANTITHESIS=1) | COMMENT |
| MEDIUM | …contracts-reference/tpde/include/tpde/ValuePartRef.hpp | 433 | // Essentially lock(), except that we know that the lock count is zero. | COMMENT |
| MEDIUM | crates/tpde/fadec/tests/reference/encode2.c | 54 | // Essentially just an and+or due to struct layout. | COMMENT |
| MEDIUM | …ates/tpde/compiler-x64/tests/reference/fadec/encode2.c | 54 | // Essentially just an and+or due to struct layout. | COMMENT |
| MEDIUM | …compiler-x64/tests/reference/fadec/corrected/encode2.c | 54 | // Essentially just an and+or due to struct layout. | COMMENT |
| MEDIUM | …ests/reference/tpde/tpde/include/tpde/ValuePartRef.hpp | 433 | // Essentially lock(), except that we know that the lock count is zero. | COMMENT |
| MEDIUM | …de/function-writer-x64/tests/reference/fadec/encode2.c | 54 | // Essentially just an and+or due to struct layout. | COMMENT |
| MEDIUM | …ler/tests/reference/tpde/include/tpde/ValuePartRef.hpp | 433 | // Essentially lock(), except that we know that the lock count is zero. | COMMENT |
| MEDIUM | …stream/deps/spdlog/include/spdlog/fmt/bundled/format.h | 3501 | // Compilers are not aware of how to leverage the maximum value of | COMMENT |
| MEDIUM | crates/_support/pgsync/Cargo.toml | 29 | # Antithesis harness builds only (antithesis/ directory): the ParkLot | COMMENT |
| MEDIUM | crates/contrib/pgvector_hnsw/src/utils.rs | 751 | // Make robust to issues. | COMMENT |
| MEDIUM | crates/common/controldata_utils/Cargo.toml | 28 | # `pgrust_sim` (non-default cfg, set only by the sim harness RUSTFLAGS): the | COMMENT |
| MEDIUM | crates/port/pg_strong_random/Cargo.toml | 12 | # harness's RUSTFLAGS — never in .cargo/config, any product profile, or | COMMENT |
| MEDIUM | crates/port/pg_clock/Cargo.toml | 15 | # VFS dispatch mechanism verbatim). It is set exclusively by the sim harness's | COMMENT |
| MEDIUM | wasm/wasm-web-e2e.sh | 3 | # harness boots postgres.wasm under NODE (no browser) over a packed in-memory | COMMENT |
| MEDIUM | wasm/wasm-web-opfs-e2e.sh | 6 | # Node. Node has no OPFS, so the store is the harness's in-memory Map — the | COMMENT |
| MEDIUM⚡ | wasm/blog/source/posts.json | 40 | "rendered": "<p><em>tl;dr After four attempts and dropping $100k, we succeeded in using Opus to rewrite Postgres i | CODE |
| MEDIUM⚡ | wasm/blog/source/posts.json | 40 | "rendered": "<p><em>tl;dr After four attempts and dropping $100k, we succeeded in using Opus to rewrite Postgres i | CODE |
| MEDIUM⚡ | wasm/blog/source/posts.json | 96 | "rendered": "<h1></h1>\n<blockquote><p><a href=\"https://malisper.me/table-of-contents/\">I’ve written dozen | CODE |
| MEDIUM⚡ | wasm/blog/source/posts.json | 96 | "rendered": "<h1></h1>\n<blockquote><p><a href=\"https://malisper.me/table-of-contents/\">I’ve written dozen | CODE |
| MEDIUM | …/pgrust-rebuilding-postgres-in-rust-with-ai/index.html | 143 | <p>I was previously the CEO of a 120-person company at Freshpaint. And while I wanted to read the code all the time, I w | CODE |
| 72 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …/contrib/pg_visibility/t/001_concurrent_transaction.pl | 36 | # Create a sample table and run vacuum | COMMENT |
| MEDIUM | ….6-reference/contrib/pg_visibility/t/002_corrupt_vm.pl | 21 | # Create a sample table with at least 10 pages and then run VACUUM. 10 is | COMMENT |
| MEDIUM | …eference/contrib/amcheck/t/004_verify_nbtree_unique.pl | 18 | # Create a custom operator class and an index which uses it. | COMMENT |
| MEDIUM | …/postgres-18.6-reference/contrib/amcheck/t/005_pitr.pl | 16 | # Create a table with each of 6 PK values spanning 1/4 of a block. Delete the | COMMENT |
| MEDIUM | …-18.6-reference/contrib/amcheck/t/001_verify_heapam.pl | 115 | # Create a test sequence of the given name. | COMMENT |
| MEDIUM | …s/postgres-18.6-reference/src/test/ssl/t/SSL/Server.pm | 15 | # Create a new cluster | COMMENT |
| MEDIUM | …-reference/src/test/recovery/t/042_low_level_backup.pl | 51 | # Create a table that will be used to verify that recovery started at the | COMMENT |
| MEDIUM | …src/test/recovery/t/040_standby_failover_slots_sync.pl | 37 | # Create a subscriber node, wait for sync to complete | COMMENT |
| MEDIUM | …src/test/recovery/t/040_standby_failover_slots_sync.pl | 50 | # Create a subscription that enables failover. | COMMENT |
| MEDIUM | …src/test/recovery/t/040_standby_failover_slots_sync.pl | 135 | # Create a standby | COMMENT |
| MEDIUM | …src/test/recovery/t/040_standby_failover_slots_sync.pl | 357 | # Create a cascading standby | COMMENT |
| MEDIUM | …src/test/recovery/t/040_standby_failover_slots_sync.pl | 389 | # Create a failover slot and advance the restart_lsn to a position where a | COMMENT |
| MEDIUM | …src/test/recovery/t/040_standby_failover_slots_sync.pl | 745 | # Create a logical 'test_decoding' replication slot with failover enabled | COMMENT |
| MEDIUM | …-reference/src/test/recovery/t/033_replay_tsp_drops.pl | 121 | # Create a database in the tablespace and a table in default tablespace | COMMENT |
| MEDIUM | ….6-reference/src/test/recovery/t/008_fsm_truncation.pl | 24 | # Create a primary node and its standby, initializing both with some data | COMMENT |
| MEDIUM | …ce/src/test/recovery/t/035_standby_logical_decoding.pl | 47 | # Create the required logical slots on standby. | COMMENT |
| MEDIUM⚡ | …ce/src/test/recovery/t/035_standby_logical_decoding.pl | 499 | # Create a table on the primary | COMMENT |
| MEDIUM⚡ | …ce/src/test/recovery/t/035_standby_logical_decoding.pl | 503 | # Create a table (same structure) on the subscriber node | COMMENT |
| MEDIUM⚡ | …ce/src/test/recovery/t/035_standby_logical_decoding.pl | 507 | # Create a publication on the primary | COMMENT |
| MEDIUM | …ce/src/test/recovery/t/035_standby_logical_decoding.pl | 554 | # Create the injection_points extension | COMMENT |
| MEDIUM | …ce/src/test/recovery/t/035_standby_logical_decoding.pl | 909 | # Create a slot on a database that would not be dropped. This slot should not | COMMENT |
| MEDIUM | …ce/src/test/recovery/t/035_standby_logical_decoding.pl | 948 | # Create a physical replication slot on the standby. | COMMENT |
| MEDIUM | …ce/src/test/recovery/t/035_standby_logical_decoding.pl | 1065 | # Create a logical slot on the cascading standby for this test. | COMMENT |
| MEDIUM | …nce/src/test/recovery/t/046_checkpoint_logical_slot.pl | 36 | # Create the two slots we'll need. | COMMENT |
| MEDIUM | …nce/src/test/recovery/t/046_checkpoint_logical_slot.pl | 159 | # Create a standby | COMMENT |
| MEDIUM | …6-reference/src/test/recovery/t/014_unlogged_reinit.pl | 21 | # Create an unlogged table and an unlogged sequence to test that forks | COMMENT |
| MEDIUM | …6-reference/src/test/recovery/t/014_unlogged_reinit.pl | 43 | # Create an unlogged table in a tablespace. | COMMENT |
| MEDIUM | ….6-reference/src/test/recovery/t/019_replslot_limit.pl | 39 | # Create a standby linking to it using the replication slot | COMMENT |
| MEDIUM | ….6-reference/src/test/recovery/t/019_replslot_limit.pl | 426 | # Create a standby linking to the primary using the replication slot | COMMENT |
| MEDIUM | …src/test/recovery/t/054_unlogged_sequence_promotion.pl | 24 | # Create the unlogged sequence after the standby has started, so its init fork | COMMENT |
| MEDIUM | …postgres-18.6-reference/src/test/recovery/t/017_shm.pl | 44 | # Create a shmem segment that will conflict with gnat's first choice | COMMENT |
| MEDIUM | …ce/src/test/recovery/t/047_checkpoint_physical_slot.pl | 37 | # Create a physical replication slot. | COMMENT |
| MEDIUM | …8.6-reference/src/test/perl/PostgreSQL/Test/Cluster.pm | 16 | # Create a data directory with initdb | COMMENT |
| MEDIUM | …erence/src/test/perl/PostgreSQL/Test/BackgroundPsql.pm | 16 | # Create a data directory with initdb | COMMENT |
| MEDIUM | ….6-reference/src/test/subscription/t/017_stream_ddl.pl | 6 | # This file is mainly to test the DDL/DML interaction of the publisher side, | COMMENT |
| MEDIUM | …ence/src/test/subscription/t/033_run_as_table_owner.pl | 232 | # Create a new subscription "admin_sub" owned by regress_admin2. It's | COMMENT |
| MEDIUM | …rc/test/subscription/t/019_stream_subxact_ddl_abort.pl | 7 | # This file is mainly to test the DDL/DML interaction of the publisher side, | COMMENT |
| MEDIUM | …18.6-reference/src/test/subscription/t/029_on_error.pl | 107 | # Create a pub/sub to set up logical replication. This tests that the | COMMENT |
| MEDIUM | …s-18.6-reference/src/test/subscription/t/030_origin.pl | 46 | # Create the same table on node_B | COMMENT |
| MEDIUM | …res-18.6-reference/src/test/subscription/t/100_bugs.pl | 181 | # Create the tables in all nodes. | COMMENT |
| MEDIUM | …res-18.6-reference/src/test/subscription/t/100_bugs.pl | 186 | # Create a cascaded replication setup like: | COMMENT |
| MEDIUM | …res-18.6-reference/src/test/subscription/t/100_bugs.pl | 550 | # Create an AFTER INSERT trigger on the table that raises and subsequently | COMMENT |
| MEDIUM | …res-18.6-reference/src/test/subscription/t/100_bugs.pl | 638 | # Create a publication with the zero-division row filter. It always throws an | COMMENT |
| MEDIUM⚡ | …8.6-reference/src/test/subscription/t/035_conflicts.pl | 14 | # Create a publisher node | COMMENT |
| MEDIUM⚡ | …8.6-reference/src/test/subscription/t/035_conflicts.pl | 19 | # Create a subscriber node | COMMENT |
| MEDIUM⚡ | …8.6-reference/src/test/subscription/t/035_conflicts.pl | 24 | # Create a table on publisher | COMMENT |
| MEDIUM | …8.6-reference/src/test/subscription/t/035_conflicts.pl | 47 | # Create the subscription | COMMENT |
| MEDIUM | …-reference/src/test/subscription/t/024_add_drop_pub.pl | 49 | # Create a new table on publisher | COMMENT |
| MEDIUM | …-reference/src/test/subscription/t/024_add_drop_pub.pl | 54 | # Create a new table on subscriber | COMMENT |
| MEDIUM⚡ | …s-18.6-reference/src/test/subscription/t/014_binary.pl | 184 | # Create a custom type without send/rcv functions | COMMENT |
| MEDIUM | …es-18.6-reference/src/test/subscription/t/026_stats.pl | 137 | # Create the publication and subscription with sync and apply errors | COMMENT |
| MEDIUM | …8.6-reference/src/test/subscription/t/011_generated.pl | 140 | # Create the table and subscription in the 'postgres' database. | COMMENT |
| MEDIUM | …8.6-reference/src/test/subscription/t/011_generated.pl | 147 | # Create the table and subscription in the 'test_pgc_true' database. | COMMENT |
| MEDIUM | …erence/src/test/subscription/t/022_twophase_cascade.pl | 56 | # Create the same tables on node_B and node_C | COMMENT |
| MEDIUM | …erence/src/test/subscription/t/022_twophase_cascade.pl | 66 | # Create the same tables on node_B and node_C | COMMENT |
| MEDIUM | …8.6-reference/src/test/modules/commit_ts/t/001_base.pl | 17 | # Create a table, compare "now()" to the commit TS of its xmin | COMMENT |
| MEDIUM | …18.6-reference/src/test/modules/brin/t/01_workitems.pl | 20 | # Create a table with an autosummarizing BRIN index | COMMENT |
| MEDIUM | …-18.6-reference/src/test/modules/test_aio/t/001_aio.pl | 1124 | # Create a corruption and then read the block without waiting for | COMMENT |
| MEDIUM | …erence/src/test/modules/xid_wraparound/t/002_limits.pl | 36 | # Create a test table. We disable autovacuum on the table to run it only | COMMENT |
| MEDIUM | …e/src/test/modules/xid_wraparound/t/003_wraparounds.pl | 32 | # Create a test table. We disable autovacuum on the table to run | COMMENT |
| 53 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | crates/gravity/lint/alloclint/homes.py | 37 | CODE | |
| LOW | crates/gravity/lint/alloclint/homes.py | 125 | CODE | |
| LOW | crates/gravity/lint/alloclint/homes.py | 208 | CODE | |
| LOW | crates/gravity/lint/alloclint/homes.py | 327 | CODE | |
| LOW | crates/gravity/lint/alloclint/crosscheck.py | 139 | CODE | |
| LOW | crates/gravity/lint/alloclint/crosscheck.py | 549 | CODE | |
| LOW | crates/gravity/lint/alloclint/crosscheck.py | 581 | CODE | |
| LOW | crates/gravity/lint/alloclint/crosscheck.py | 770 | CODE | |
| LOW | crates/gravity/lint/alloclint/crosscheck.py | 177 | CODE | |
| LOW | crates/gravity/lint/alloclint/crosscheck.py | 266 | CODE | |
| LOW | crates/gravity/lint/alloclint/crosscheck.py | 385 | CODE | |
| LOW | crates/gravity/lint/alloclint/crosscheck.py | 986 | CODE | |
| LOW | crates/gravity/lint/alloclint/crosscheck.py | 1050 | CODE | |
| LOW | crates/gravity/lint/alloclint/crosscheck.py | 1298 | CODE | |
| LOW | crates/gravity/lint/alloclint/unreached.py | 168 | CODE | |
| LOW | crates/gravity/lint/alloclint/unreached.py | 215 | CODE | |
| LOW | crates/gravity/lint/alloclint/unreached.py | 280 | CODE | |
| LOW | crates/gravity/lint/alloclint/unreached.py | 315 | CODE | |
| LOW | crates/gravity/lint/alloclint/unreached.py | 408 | CODE | |
| LOW | crates/gravity/lint/alloclint/unreached.py | 178 | CODE | |
| LOW | crates/gravity/lint/alloclint/ratchet.py | 121 | CODE | |
| LOW | crates/gravity/lint/alloclint/ratchet.py | 224 | CODE | |
| LOW | crates/gravity/lint/alloclint/ratchet.py | 442 | CODE | |
| LOW | crates/gravity/lint/alloclint/ratchet.py | 705 | CODE | |
| LOW | crates/gravity/lint/alloclint/ratchet.py | 775 | CODE | |
| LOW | crates/gravity/lint/alloclint/ratchet.py | 1106 | CODE | |
| LOW | crates/gravity/lint/alloclint/mcxt.py | 59 | CODE | |
| LOW | crates/gravity/lint/alloclint/mcxt.py | 96 | CODE | |
| LOW | crates/gravity/lint/alloclint/mcxt.py | 198 | CODE | |
| LOW | crates/gravity/lint/alloclint/mcxt.py | 229 | CODE | |
| LOW | crates/gravity/lint/rules/rq_polls.py | 124 | CODE | |
| LOW | crates/gravity/lint/rules/rq_polls.py | 200 | CODE | |
| LOW | crates/gravity/lint/rules/rq_polls.py | 443 | CODE | |
| LOW | crates/gravity/lint/rules/rq_polls.py | 251 | CODE | |
| LOW | crates/gravity/lint/rules/rq_polls.py | 316 | CODE | |
| LOW | crates/gravity/lint/rules/run.py | 141 | CODE | |
| LOW | crates/gravity/lint/rules/run.py | 215 | CODE | |
| LOW | crates/gravity/lint/rules/run.py | 334 | CODE | |
| LOW | crates/gravity/lint/rules/run.py | 437 | CODE | |
| LOW | crates/gravity/lint/rules/rcf_charge_first.py | 46 | CODE | |
| LOW | crates/gravity/lint/rules/rcf_charge_first.py | 60 | CODE | |
| LOW | crates/gravity/lint/rules/rcf_charge_first.py | 99 | CODE | |
| LOW | crates/gravity/lint/rules/ry_stack_image.py | 58 | CODE | |
| LOW | crates/gravity/lint/rules/ry_stack_image.py | 72 | CODE | |
| LOW | crates/gravity/lint/rules/ry_stack_image.py | 90 | CODE | |
| LOW | crates/gravity/lint/rules/ry_stack_image.py | 113 | CODE | |
| LOW | crates/gravity/lint/rules/a1_keyhash.py | 36 | CODE | |
| LOW | crates/gravity/lint/rules/a1_keyhash.py | 83 | CODE | |
| LOW | crates/gravity/lint/rules/rl2_limit_panic.py | 45 | CODE | |
| LOW | crates/gravity/lint/rules/r05_layering.py | 62 | CODE | |
| LOW | crates/gravity/lint/rules/exempt.py | 110 | CODE | |
| LOW | crates/gravity/lint/rules/rl_lifetime.py | 62 | CODE | |
| LOW | crates/gravity/lint/rules/rl_lifetime.py | 77 | CODE | |
| LOW | crates/gravity/lint/rules/rsn_spawn_pinned.py | 34 | CODE | |
| LOW | crates/gravity/lint/rules/rsn_spawn_pinned.py | 47 | CODE | |
| LOW | crates/gravity/lint/rules/rg_spill.py | 140 | CODE | |
| LOW | crates/gravity/lint/rules/rt_thread_state.py | 99 | CODE | |
| LOW | crates/gravity/lint/rules/rt_thread_state.py | 171 | CODE | |
| LOW | crates/gravity/lint/rules/rt_thread_state.py | 244 | CODE | |
| LOW | crates/gravity/lint/rules/rt_thread_state.py | 265 | CODE | |
| 158 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | crates/gravity/lint/alloclint/crosscheck.py | 46 | RE_VT_FIELD = re.compile(r'ptr (@(?:"[^"]+"|[-\w$.]+)|null)|\[(\d+) x i8\]') | CODE |
| HIGH | crates/gravity/lint/alloclint/crosscheck.py | 736 | " self.sel.push(row as u16); // alloc: Node charged o", # 11 | CODE |
| HIGH | crates/gravity/lint/alloclint/crosscheck.py | 738 | " self.didx.push(self.sel.len() as u16 - 1); // alloc: Node charged o", # 13 | CODE |
| HIGH | crates/gravity/lint/alloclint/ratchet.py | 1165 | open(src_f, "w").write("fn live() {\n let a = k.clone();\n v.push(1);\n let t: Vec<u8> = x;\n}\n" | CODE |
| HIGH | crates/gravity/lint/alloclint/ratchet.py | 1166 | "fn only_tests() {\n let x = 1;\n w.push(2);\n}\n") | CODE |
| HIGH⚡ | crates/gravity/lint/alloclint/ratchet.py | 1270 | open(os.path.join(t, f), "w").write("\n" * 19 + "v.push(x); // alloc: Exec charged w.stmt_owner()\n" | CODE |
| HIGH⚡ | crates/gravity/lint/alloclint/ratchet.py | 1271 | "v.push(y); // alloc: charged slot.owner\n" + "v.push(z); // alloc: Exec\n") | CODE |
| HIGH⚡ | crates/gravity/lint/alloclint/ratchet.py | 1280 | CC_SRC = ("fn put(out: &mut Vec<u8>, v: u8) {\n out.push(v); // alloc: Exec charged caller\n}\n\n" | CODE |
| HIGH⚡ | crates/gravity/lint/alloclint/ratchet.py | 1281 | "fn enc(out: &mut Vec<u8>) {\n out.push(1); // alloc: Exec charged caller\n" | CODE |
| HIGH⚡ | crates/gravity/lint/alloclint/ratchet.py | 1282 | " out.push(2); // alloc: Node charged caller (the caller charges it)\n}\n") | CODE |
| HIGH | crates/gravity/lint/alloclint/ratchet.py | 1313 | 'r.push_str(&e.to_string()); // alloc: Cold\n' + "v.push(1); // alloc: Cold\ | CODE |
| HIGH | crates/gravity/lint/alloclint/ratchet.py | 1368 | open(os.path.join(t, f), "w").write("fn put() {\n let g = memledger::arena::cache_scope_for(o, k);\n v.pus | CODE |
| HIGH | crates/gravity/lint/alloclint/ratchet.py | 1369 | " g.finish();\n v.push(2);\n Err(Box::new(PgError::error(m))) // al | CODE |
| HIGH | crates/gravity/lint/alloclint/ratchet.py | 1392 | + "x: Vec<u8>, // alloc: Cold\n" + "e: String, // alloc: Cold\n" + "v.push(1 | CODE |
| HIGH | crates/gravity/lint/alloclint/ratchet.py | 1812 | open(os.path.join(r, f), "a").write("fn more(out: &mut Vec<u8>) {\n out.push(3);\n}\n") | CODE |
| HIGH | crates/gravity/lint/rules/rq_polls.py | 546 | {"files": [(_W, "fn walk(&mut self, n: u32) -> PgResult<()> {\n let mut a = 0;\n while a < n && self.has(a)? { | CODE |
| HIGH | crates/gravity/lint/rules/rl_lifetime.py | 235 | "fn mark(b: &mut Builder<'_, '_>, q: u16) { b.graph.kept.push(q); }\n") | CODE |
| HIGH | crates/gravity/lint/rules/rsn_spawn_pinned.py | 100 | "pub fn go() {\n let h = std::thread::Builder::new().name(\"x\".into()).spawn(move || work()).unwrap( | CODE |
| HIGH | crates/gravity/lint/rules/rsn_spawn_pinned.py | 102 | "pub fn go() {\n let h = std::thread::Builder::new().name(\"x\".into()).spawn(pagegive::pinned(move || | CODE |
| HIGH | crates/gravity/lint/rules/r03_literal_gates.py | 42 | "pub fn quiet(f: &Call) -> bool { f.funcid == 2108 || matches!(f.typid, INT4OID | INT8OID) }\n")] | CODE |
| HIGH | crates/gravity/lint/rules/r03_literal_gates.py | 44 | "pub fn same(a: &Op, b: &Op) -> bool { a.opno == b.opno && a.opfuncid != 0 }\n")] | CODE |
| HIGH | crates/gravity/lint/rules/rx_keyimage.py | 190 | "fn wide(k: &KeyDecl) -> bool {\n k.image == DeclImage::NumMantissa && k.words == 1\n}\n")] | CODE |
| HIGH | crates/gravity/lint/rules/rf_lock_forms.py | 216 | {"files": [(_LR + "planted.rs", "fn b_role(px: &mut Px<'_, '_>, k: usize) -> bool { px.locks.push(k); pair_mark(px, | CODE |
| HIGH | crates/gravity/lint/rules/rc_demand.py | 14 | by path and name, with its owner lane and kind (null, drop, pin, walk), and the local walks the census of 2026-10-11 nam | STRING |
| HIGH | crates/tpde/fadec-gen/tests/generated_execution.py | 276 | for (unsigned i = 0; i < 16; ++i) assert(storage[i] == 0x5a && storage[48+i] == 0x5a); | CODE |
| HIGH | crates/tpde/fadec-gen/tests/generated_execution.py | 390 | checked(["cc", "-std=c11", "-O0", "-fsanitize=undefined,bounds", "-fno-sanitize-recover=all", | STRING |
| HIGH | crates/tpde/fadec-gen/tests/reference/parseinstrs.py | 1100 | rex_expr.append(f"(op_reg_idx(op{i}) >= 4 && op_reg_idx(op{i}) <= 15?0x40:0)") | STRING |
| HIGH | crates/tpde/fadec-gen/tests/reference/parseinstrs.py | 1123 | code += f" if (rex && op_reg_gph(op{i})) return 0;\n" | STRING |
| HIGH | crates/tpde/fadec/tests/oracle.py | 491 | "-fsanitize=address,undefined,bounds", "-fno-sanitize-recover=all", "-I", str(work), | CODE |
| HIGH | crates/tpde/fadec/tests/reference/parseinstrs.py | 1100 | rex_expr.append(f"(op_reg_idx(op{i}) >= 4 && op_reg_idx(op{i}) <= 15?0x40:0)") | STRING |
| HIGH | crates/tpde/fadec/tests/reference/parseinstrs.py | 1123 | code += f" if (rex && op_reg_gph(op{i})) return 0;\n" | STRING |
| HIGH | …tpde/compiler-x64/tests/reference/fadec/parseinstrs.py | 1100 | rex_expr.append(f"(op_reg_idx(op{i}) >= 4 && op_reg_idx(op{i}) <= 15?0x40:0)") | STRING |
| HIGH | …tpde/compiler-x64/tests/reference/fadec/parseinstrs.py | 1123 | code += f" if (rex && op_reg_gph(op{i})) return 0;\n" | STRING |
| HIGH | …nction-writer-x64/tests/reference/fadec/parseinstrs.py | 1100 | rex_expr.append(f"(op_reg_idx(op{i}) >= 4 && op_reg_idx(op{i}) <= 15?0x40:0)") | STRING |
| HIGH | …nction-writer-x64/tests/reference/fadec/parseinstrs.py | 1123 | code += f" if (rex && op_reg_gph(op{i})) return 0;\n" | STRING |
| HIGH | crates/tpde/disarm-gen/tests/encoder_helpers.py | 319 | static_assert(sizeof(uintptr_t)==8 && sizeof(ptrdiff_t)==8); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | crates/gravity/kernels/tests/sort_v4_m3.rs | 415 | /// D1581 (G4 L1', V4R-517): the heads' does-not-apply witness (guardrails G1-G4). m3_sort.rs `index_by` orders a var ru | COMMENT |
| MEDIUM | …ference/src/tools/pg_bsd_indent/t/001_pg_bsd_indent.pl | 3 | # The test cases come from FreeBSD upstream, but this test scaffolding is ours. | COMMENT |
| MEDIUM | …d/access/transam/xlogrecovery/tests/sim_crash_sweep.rs | 2480 | // Property 3 scaffold: clog-committed txns must be a PREFIX 1..=h | COMMENT |
| MEDIUM | crates/backend/access/transam/rmgr/src/lib.rs | 90 | #[allow(unused_macros)] // stub scaffolding for not-yet-ported redo callbacks | COMMENT |
| MEDIUM | crates/backend/access/pgrcolumnar/pgrc_qa/Cargo.toml | 6 | # ships from here; the lib is rig scaffolding for the tests + the crash | COMMENT |
| MEDIUM | crates/backend/access/pgrcolumnar/pgrc_am/src/dml.rs | 1 | //! # dml — the M5e trickle-DML AM-face contract (M5e-SCOUT scaffold; NO | COMMENT |
| MEDIUM | crates/backend/access/pgrcolumnar/pgrc_am/src/dml.rs | 1 | //! # dml — the M5e trickle-DML AM-face contract (M5e-SCOUT scaffold; NO | COMMENT |
| MEDIUM | crates/backend/access/pgrcolumnar/pgrc_write/src/dml.rs | 1 | //! # dml — the M5e trickle-DML producer faces (M5e-SCOUT scaffold; NO | COMMENT |
| MEDIUM | crates/backend/access/pgrcolumnar/pgrc_write/src/dml.rs | 1 | //! # dml — the M5e trickle-DML producer faces (M5e-SCOUT scaffold; NO | COMMENT |
| MEDIUM | crates/backend/access/pgrcolumnar/pgrc_write/src/dml.rs | 320 | // in `pgrc_am::dml`'s scaffold tests, where both crates are | COMMENT |
| MEDIUM | crates/backend/tcop/postgres/src/sim_net.rs | 647 | // registration hook lands — this snapshot is the scaffold stand-in. | COMMENT |
| MEDIUM | crates/backend/tcop/postgres/src/sim_sched_demo.rs | 34 | //! degrades to plain std (scaffold mode, exactly the pre-compose behavior). | COMMENT |
| MEDIUM | crates/backend/tcop/postgres/src/sim_sched_demo.rs | 114 | /// sleeps over OS scheduling (scaffold mode) — same line, no SCHEDOP. | COMMENT |
| MEDIUM | crates/backend/tcop/postgres/src/sim_sched_demo.rs | 161 | /// OS scheduling (scaffold mode) — same line, no SCHEDOP. | COMMENT |
| MEDIUM | crates/backend/tcop/postgres/src/sim_sched_demo.rs | 190 | // scheduler is off (scaffold mode: fallback timer trips). | COMMENT |
| MEDIUM | …/backend/storage/file/vfs/tests/sim_shared_universe.rs | 29 | // --- ingest APIs: scaffold + durable-from-birth file ----------------- | COMMENT |
| MEDIUM | crates/backend/storage/file/vfs/src/sim_boot.rs | 22 | //! ingest mints to scaffold each root's absolute path are namespace plumbing | COMMENT |
| MEDIUM | crates/backend/storage/file/vfs/src/sim_boot.rs | 178 | return Ok(()); // root "/" needs no scaffold | CODE |
| MEDIUM⚡ | wasm/blog/source/posts.json | 40 | "rendered": "<p><em>tl;dr After four attempts and dropping $100k, we succeeded in using Opus to rewrite Postgres i | CODE |
| MEDIUM⚡ | wasm/blog/source/posts.json | 40 | "rendered": "<p><em>tl;dr After four attempts and dropping $100k, we succeeded in using Opus to rewrite Postgres i | CODE |
| MEDIUM⚡ | wasm/blog/source/posts.json | 40 | "rendered": "<p><em>tl;dr After four attempts and dropping $100k, we succeeded in using Opus to rewrite Postgres i | CODE |
| MEDIUM⚡ | wasm/blog/source/posts.json | 40 | "rendered": "<p><em>tl;dr After four attempts and dropping $100k, we succeeded in using Opus to rewrite Postgres i | CODE |
| MEDIUM⚡ | wasm/blog/source/posts.json | 96 | "rendered": "<h1></h1>\n<blockquote><p><a href=\"https://malisper.me/table-of-contents/\">I’ve written dozen | CODE |
| MEDIUM⚡ | wasm/blog/source/posts.json | 96 | "rendered": "<h1></h1>\n<blockquote><p><a href=\"https://malisper.me/table-of-contents/\">I’ve written dozen | CODE |
| MEDIUM | …/pgrust-rebuilding-postgres-in-rust-with-ai/index.html | 131 | <p>That’s when I decided to try going multi-agent.</p> | CODE |
| MEDIUM | …/pgrust-rebuilding-postgres-in-rust-with-ai/index.html | 143 | <p>I was previously the CEO of a 120-person company at Freshpaint. And while I wanted to read the code all the time, I w | CODE |
| MEDIUM | wasm/blog/postgres-in-rust-regression-suite/index.html | 137 | <p>This time I approached the project a little bit differently. This time, I set up my “agentic infrastructureR | CODE |
| MEDIUM | proofs/cash/Cargo.toml | 12 | # direct deps needed as stub-target / scaffolding paths (wave-4 extension): | COMMENT |
| MEDIUM | proofs/text-slice/run-all.sh | 8 | # Solve-time tiers (measured under multi-agent load 2026-07-28, inflated | COMMENT |
| MEDIUM | crash-simulator/src/runner/shrink.rs | 4 | //! on the begin-property line in the scaffold format) does not | COMMENT |
| MEDIUM | crash-simulator/src/runner/driver.rs | 15 | //! `DiffClassifier` hook traits and ships basic scaffold impls only. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | crates/gravity/lint/rules/rk_keysem.py | 0 | -> ({(path, fn): (line, owner, kind)}, [(line, problem)]). | STRING |
| HIGH | crates/gravity/lint/rules/rd_deps.py | 0 | -> ({(path, fn): (line, owner, kind)}, [(line, problem)]). | STRING |
| HIGH | crates/gravity/lint/rules/rl_lifetime.py | 0 | -> ({(path, fn): (line, owner, kind)}, [(line, problem)]). | STRING |
| HIGH | crates/gravity/lint/rules/rx_keyimage.py | 0 | -> ({(path, fn): (line, owner, kind)}, [(line, problem)]). | STRING |
| HIGH | crates/gravity/lint/rules/rc_demand.py | 0 | -> ({(path, fn): (line, owner, kind)}, [(line, problem)]). | STRING |
| HIGH | crates/gravity/lint/rules/rl_lifetime.py | 0 | -> the index after the bracket that closes the one at t[i] (`o`), or -1. | STRING |
| HIGH | crates/gravity/lint/rules/rv_visible.py | 0 | -> the index after the bracket that closes the one at t[i] (`o`), or -1. | STRING |
| HIGH | crates/gravity/lint/rules/rs_stack.py | 0 | -> the index after the bracket that closes the one at t[i] (`o`), or -1. | STRING |
| HIGH | crates/tpde/fadec-gen/tests/reference/parseinstrs.py | 0 | // auto-generated file -- do not modify! #if defined(fd_decode_table_data) {"".join(f"{e:#06x}," for e in table_data)} # | STRING |
| HIGH | crates/tpde/fadec/tests/reference/parseinstrs.py | 0 | // auto-generated file -- do not modify! #if defined(fd_decode_table_data) {"".join(f"{e:#06x}," for e in table_data)} # | STRING |
| HIGH | …tpde/compiler-x64/tests/reference/fadec/parseinstrs.py | 0 | // auto-generated file -- do not modify! #if defined(fd_decode_table_data) {"".join(f"{e:#06x}," for e in table_data)} # | STRING |
| HIGH | …nction-writer-x64/tests/reference/fadec/parseinstrs.py | 0 | // auto-generated file -- do not modify! #if defined(fd_decode_table_data) {"".join(f"{e:#06x}," for e in table_data)} # | STRING |
| HIGH | …pde/function-writer-a64/tests/upstream/disarm/parse.py | 0 | enum da64instkind {{ da64i_unknown=0, {"".join(mnems_strs)} }}; enum da64instgroup {{ da64g_unknown=0, {"".join(grpnum_s | STRING |
| HIGH | crates/tpde/disarm/reference/parse.py | 0 | enum da64instkind {{ da64i_unknown=0, {"".join(mnems_strs)} }}; enum da64instgroup {{ da64g_unknown=0, {"".join(grpnum_s | STRING |
| HIGH | crates/tpde/disarm-gen/reference/parse.py | 0 | enum da64instkind {{ da64i_unknown=0, {"".join(mnems_strs)} }}; enum da64instgroup {{ da64g_unknown=0, {"".join(grpnum_s | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …-reference/contrib/unaccent/generate_unaccent_rules.py | 117 | # Check if the base letter of this letter has marks. | COMMENT |
| LOW | …stgres-18.6-reference/contrib/sepgsql/t/001_sepgsql.pl | 228 | # Check if the truncate permission exists in the loaded policy, and if so, | COMMENT |
| LOW | …rence/src/test/recovery/t/041_checkpoint_at_promote.pl | 38 | # Check if the extension injection_points is available, as it may be | COMMENT |
| LOW | …s-18.6-reference/src/test/recovery/t/001_stream_rep.pl | 583 | # Check if the previous segment gets correctly recycled after the | COMMENT |
| LOW | …src/test/recovery/t/040_standby_failover_slots_sync.pl | 246 | # Check if the synced slot is invalidated | COMMENT |
| LOW | …src/test/recovery/t/040_standby_failover_slots_sync.pl | 868 | # Set two_phase to true and enable the subscription | COMMENT |
| LOW | …e/src/test/recovery/t/044_invalidate_inactive_slots.pl | 58 | # Check if the 'injection_points' extension is available, as it may be | COMMENT |
| LOW | …6-reference/src/test/recovery/t/016_min_consistency.pl | 49 | # Set shared_buffers to a very low value to enforce discard and flush | COMMENT |
| LOW | …ce/src/test/recovery/t/035_standby_logical_decoding.pl | 125 | # Check if all the slots on standby are dropped. These include the 'activeslot' | COMMENT |
| LOW | …ce/src/test/recovery/t/035_standby_logical_decoding.pl | 303 | # Check if the extension injection_points is available, as it may be | COMMENT |
| LOW | …ce/src/test/recovery/t/035_standby_logical_decoding.pl | 627 | # Set hot_standby_feedback to on | COMMENT |
| LOW | …nce/src/test/recovery/t/046_checkpoint_logical_slot.pl | 26 | # Check if the extension injection_points is available, as it may be | COMMENT |
| LOW | …erence/src/test/recovery/t/048_vacuum_horizon_floor.pl | 108 | # Set primary_conninfo to something invalid on the replica and reload the | COMMENT |
| LOW | …ce/src/test/recovery/t/047_checkpoint_physical_slot.pl | 27 | # Check if the extension injection_points is available, as it may be | COMMENT |
| LOW | …ce/src/test/recovery/t/047_checkpoint_physical_slot.pl | 126 | # Check if the required wal segment exists. | COMMENT |
| LOW | …8.6-reference/src/test/perl/PostgreSQL/Test/Cluster.pm | 1647 | # Add node to list of nodes | COMMENT |
| LOW | …-18.6-reference/src/test/perl/PostgreSQL/Test/Utils.pm | 154 | # Check if this environment is MSYS2. | COMMENT |
| LOW | …ference/src/test/subscription/t/023_twophase_stream.pl | 465 | # Set max_prepared_transactions to correct value to resume the replication | COMMENT |
| LOW | …18.6-reference/src/test/subscription/t/021_twophase.pl | 83 | # Set max_prepared_transactions to correct value to resume the replication | COMMENT |
| LOW | …18.6-reference/src/test/subscription/t/021_twophase.pl | 489 | # Set two_phase to "true" and failover to "true" before the COMMIT PREPARED. | COMMENT |
| LOW | …/test/modules/xid_wraparound/t/001_emergency_vacuum.pl | 105 | # Check if these tables are vacuumed. | COMMENT |
| LOW | …/test/modules/xid_wraparound/t/001_emergency_vacuum.pl | 119 | # Check if vacuum failsafe was triggered for each table. | COMMENT |
| LOW | …nce/src/test/modules/test_misc/t/007_catcache_inval.pl | 24 | # Check if the extension injection_points is available, as it may be | COMMENT |
| LOW | …/src/test/modules/test_misc/t/006_signal_autovacuum.pl | 29 | # Check if the extension injection_points is available, as it may be | COMMENT |
| LOW | …eference/src/test/modules/test_misc/t/003_check_guc.pl | 54 | # Check if this line matches a GUC parameter: | COMMENT |
| LOW | …reference/src/test/modules/test_misc/t/005_timeouts.pl | 28 | # Check if the extension injection_points is available, as it may be | COMMENT |
| LOW | …s-18.6-reference/src/test/authentication/t/003_peer.pl | 82 | # Check if peer authentication is supported on this platform. | COMMENT |
| LOW | ….6-reference/src/test/authentication/t/007_pre_auth.pl | 28 | # Check if the extension injection_points is available, as it may be | COMMENT |
| LOW | …tgres-18.6-reference/src/bin/pg_rewind/t/RewindTest.pm | 132 | # Set wal_keep_size to prevent WAL segment recycling after enforced | COMMENT |
| LOW | …nce/src/bin/pg_basebackup/t/040_pg_createsubscriber.pl | 369 | # Check if node S is still a standby | COMMENT |
| LOW | ….6-reference/src/bin/pg_amcheck/t/004_verify_heapam.pl | 679 | # Set xmin to xmax of tuple at offset 30. | COMMENT |
| LOW | …-reference/src/bin/pg_upgrade/t/005_char_signedness.pl | 42 | # Check if the value is successfully updated. | COMMENT |
| LOW | …-reference/src/bin/pg_upgrade/t/005_char_signedness.pl | 88 | # Check if the default char signedness of the new cluster inherited | COMMENT |
| LOW | …-18.6-reference/src/bin/pg_upgrade/t/002_pg_upgrade.pl | 592 | # Check if there are any logs coming from pg_upgrade, that would only be | COMMENT |
| LOW | …nce/src/interfaces/libpq/t/005_negotiate_encryption.pl | 152 | # Check if the extension injection_points is available, as it may be | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …postgres-18.6-reference/contrib/postgres_fdw/deparse.c | 1006 | * expanded later, but don't forget to add deparse support below. | COMMENT |
| LOW | …res-18.6-reference/contrib/postgres_fdw/postgres_fdw.c | 2831 | /* ... and don't forget to disable the callback */ | COMMENT |
| LOW | …tes/postgres-18.6-reference/src/tools/version_stamp.pl | 103 | print "Don't forget to run autoconf $aconfver before committing.\n"; | CODE |
| LOW | …-reference/src/test/recovery/t/006_logical_decoding.pl | 143 | # make sure you can't drop a slot while active | COMMENT |
| LOW | …es-18.6-reference/src/bin/pg_dump/pg_backup_archiver.c | 2140 | * a sign byte. If you change this, don't forget to change the file | COMMENT |
| LOW | …ates/postgres-18.6-reference/src/include/mb/pg_wchar.h | 227 | * WARNING: If you add some encoding don't forget to update | COMMENT |
| MEDIUM | crates/postgres-18.6-reference/src/include/lib/ilist.h | 46 | * Here's a simple example demonstrating how this can be used. Let's assume | COMMENT |
| LOW | …tgres-18.6-reference/src/backend/access/transam/xlog.c | 5420 | * If you change them, don't forget to update the list. | COMMENT |
| LOW | …-reference/src/backend/access/brin/brin_minmax_multi.c | 636 | /* don't forget to include the null terminator ;-) */ | COMMENT |
| LOW | …-18.6-reference/src/backend/access/common/reloptions.c | 51 | * (vi) don't forget to document the option | COMMENT |
| LOW | …stgres-18.6-reference/src/backend/access/heap/heapam.c | 2281 | * If heaptup is a private copy, release it. Don't forget to copy t_self | COMMENT |
| LOW | …stgres-18.6-reference/src/backend/access/heap/heapam.c | 4382 | * If heaptup is a private copy, release it. Don't forget to copy t_self | COMMENT |
| LOW | …/postgres-18.6-reference/src/backend/nodes/bitmapset.c | 1429 | * Note: don't forget to specify bitmap_match as the match function! | COMMENT |
| LOW | …res-18.6-reference/src/backend/utils/misc/guc_tables.c | 794 | * 6. Don't forget to document the option (at least in config.sgml). | COMMENT |
| LOW | …-18.6-reference/src/backend/utils/adt/expandedrecord.c | 1464 | * But don't forget to mark header as dummy. | COMMENT |
| LOW | …stgres-18.6-reference/src/backend/utils/adt/selfuncs.c | 1003 | /* Don't forget to account for nulls. */ | COMMENT |
| LOW | …es/postgres-18.6-reference/src/backend/utils/adt/acl.c | 797 | * you make a change here, don't forget to update the GRANT man page, | COMMENT |
| LOW | …tgres-18.6-reference/src/backend/utils/hash/dynahash.c | 1642 | /* don't forget to terminate the rebuilt hash chains... */ | COMMENT |
| LOW | …s/postgres-18.6-reference/src/backend/regex/regc_nfa.c | 2927 | /* Don't forget to free sclone's donemap when done with it */ | COMMENT |
| LOW | …ostgres-18.6-reference/src/backend/storage/lmgr/lock.c | 2037 | /* don't forget to clear waitMask bit if appropriate */ | COMMENT |
| MEDIUM | wasm/blog/source/posts.json | 82 | "rendered": "<blockquote><p>It’s been a week since I published the <a href=\"https://malisper.me/pgrust-rebu | CODE |
| MEDIUM⚡ | wasm/blog/source/posts.json | 96 | "rendered": "<h1></h1>\n<blockquote><p><a href=\"https://malisper.me/table-of-contents/\">I’ve written dozen | CODE |
| MEDIUM | …/pgrust-rebuilding-postgres-in-rust-with-ai/index.html | 54 | <blockquote><p><a href="https://malisper.me/table-of-contents/">I’ve written dozens of blog posts about Postgres i | CODE |
| LOW | proofs/mbconv/c/orig/pg_wchar.h | 227 | * WARNING: If you add some encoding don't forget to update | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …stgres-18.6-reference/src/test/regress/sql/tsearch.sql | 559 | 'Lorem ipsum urna. Nullam nullam ullamcorper urna.', | CODE |
| LOW | …stgres-18.6-reference/src/test/regress/sql/tsearch.sql | 564 | 'Lorem ipsum urna. Nullam nullam ullamcorper urna.', | CODE |
| LOW | …stgres-18.6-reference/src/test/regress/sql/tsearch.sql | 640 | 'Lorem ipsum urna. Nullam nullam ullamcorper urna.', | CODE |
| LOW | …rence/src/test/modules/oauth_validator/t/001_server.pl | 511 | "ALTER SYSTEM SET oauth_validator.authn_id TO 'test\@example.org'"); | CODE |
| LOW | …rence/src/test/modules/oauth_validator/t/001_server.pl | 532 | # Allow "user@example.com" to log in under the test role. | COMMENT |
| LOW | …es/postgres-18.6-reference/src/bin/psql/t/001_basic.pl | 362 | "\\copy copy_default from $copy_default_sql_file with (format 'csv', default 'placeholder'); | CODE |
| LOW⚡ | crates/postgres-18.6-reference/src/include/utils/elog.h | 279 | * "ereturn(context, dummy_value, ...);" is exactly the same as | COMMENT |
| LOW⚡ | crates/postgres-18.6-reference/src/include/utils/elog.h | 280 | * "errsave(context, ...); return dummy_value;". This saves a bit | COMMENT |
| LOW⚡ | crates/postgres-18.6-reference/src/include/utils/elog.h | 282 | * actions to take after reporting a soft error. "dummy_value" | COMMENT |
| LOW⚡ | crates/postgres-18.6-reference/src/include/utils/elog.h | 285 | #define ereturn_domain(context, dummy_value, domain, ...) \ | COMMENT |
| LOW⚡ | crates/postgres-18.6-reference/src/include/utils/elog.h | 288 | return dummy_value; \ | CODE |
| LOW⚡ | crates/postgres-18.6-reference/src/include/utils/elog.h | 291 | #define ereturn(context, dummy_value, ...) \ | COMMENT |
| LOW⚡ | crates/postgres-18.6-reference/src/include/utils/elog.h | 292 | ereturn_domain(context, dummy_value, TEXTDOMAIN, __VA_ARGS__) | CODE |
| LOW | …s-18.6-reference/src/backend/optimizer/plan/planmain.c | 215 | * Examine any "placeholder" expressions generated during subquery pullup. | COMMENT |
| LOW | …erfaces/ecpg/test/expected/preproc-pointer_to_struct.c | 147 | { ECPGdo(__LINE__, 0, 1, NULL, 0, ECPGst_normal, "insert into customers values ( 'John Doe' , '12345' )", ECPGt_EOIT | CODE |
| LOW | …erfaces/ecpg/test/expected/preproc-pointer_to_struct.c | 159 | { ECPGdo(__LINE__, 0, 1, NULL, 0, ECPGst_normal, "insert into customers values ( 'Jane Doe' , '67890' )", ECPGt_EOIT | CODE |
| LOW | …nterfaces/ecpg/test/expected/preproc-array_of_struct.c | 143 | { ECPGdo(__LINE__, 0, 1, NULL, 0, ECPGst_normal, "insert into customers values ( 'John Doe' , '12345' )", ECPGt_EOIT | CODE |
| LOW | …nterfaces/ecpg/test/expected/preproc-array_of_struct.c | 155 | { ECPGdo(__LINE__, 0, 1, NULL, 0, ECPGst_normal, "insert into customers values ( 'Jane Doe' , '67890' )", ECPGt_EOIT | CODE |
| LOW | crates/backend/optimizer/plan/planner/src/selfuncs.rs | 4982 | let dummy_id = run.intern_expr(dummy); | CODE |
| LOW | crates/backend/optimizer/plan/planner/src/selfuncs.rs | 4983 | let args = [left_id, dummy_id]; | CODE |
| LOW | crates/backend/utils/adt/regexp/src/tests.rs | 1185 | let hay = b"lorem ipsum dolor sit amet consectetur adipiscing elit"; | CODE |
| LOW | crates/backend/utils/adt/regexp/src/tests.rs | 1185 | let hay = b"lorem ipsum dolor sit amet consectetur adipiscing elit"; | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …contracts-reference/tpde/include/tpde/ValuePartRef.hpp | 283 | // TODO: implement this. This needs size information to copy the value. | COMMENT |
| LOW | …contracts-reference/tpde/include/tpde/ValuePartRef.hpp | 297 | // TODO: implement this. This needs size information to copy the value. | COMMENT |
| LOW | …acts-reference/tpde/include/tpde/util/VectorWriter.hpp | 136 | // TODO: implement and use sleb_len | COMMENT |
| LOW | …tests/upstream/tpde/include/tpde/util/VectorWriter.hpp | 136 | // TODO: implement and use sleb_len | COMMENT |
| LOW | …ests/reference/tpde/tpde/include/tpde/ValuePartRef.hpp | 283 | // TODO: implement this. This needs size information to copy the value. | COMMENT |
| LOW | …ests/reference/tpde/tpde/include/tpde/ValuePartRef.hpp | 297 | // TODO: implement this. This needs size information to copy the value. | COMMENT |
| LOW | …reference/tpde/tpde/include/tpde/util/VectorWriter.hpp | 136 | // TODO: implement and use sleb_len | COMMENT |
| LOW | …s/reference/tpde/tpde/include/tpde/x64/CompilerX64.hpp | 1295 | // TODO: implement for AVX/AVX-512. | COMMENT |
| LOW | …s/reference/tpde/tpde/include/tpde/x64/CompilerX64.hpp | 1912 | default: // TODO: implement optimized access for non-gd-model | CODE |
| LOW | …reference/tpde/tpde/include/tpde/util/VectorWriter.hpp | 136 | // TODO: implement and use sleb_len | COMMENT |
| LOW | …tests/upstream/tpde/include/tpde/util/VectorWriter.hpp | 136 | // TODO: implement and use sleb_len | COMMENT |
| LOW | …/raw_reference/tpde/include/tpde/arm64/CompilerA64.hpp | 2009 | default: // TODO: implement optimized access for non-gd-model | CODE |
| LOW | …tests/upstream/tpde/include/tpde/util/VectorWriter.hpp | 136 | // TODO: implement and use sleb_len | COMMENT |
| LOW | …ler/tests/reference/tpde/include/tpde/ValuePartRef.hpp | 283 | // TODO: implement this. This needs size information to copy the value. | COMMENT |
| LOW | …ler/tests/reference/tpde/include/tpde/ValuePartRef.hpp | 297 | // TODO: implement this. This needs size information to copy the value. | COMMENT |
| LOW | …ests/reference/tpde/include/tpde/util/VectorWriter.hpp | 136 | // TODO: implement and use sleb_len | COMMENT |
| LOW | …_party/libmimalloc-sys/c_src/mimalloc/v2/src/options.c | 603 | // TODO: implement ourselves to reduce dependencies on the C runtime | COMMENT |
| LOW | …d_party/libmimalloc-sys/c_src/mimalloc/v3/src/bitmap.c | 372 | // TODO: implement mi_bchunk_xsetNX instead of setNX | COMMENT |
| LOW | …_party/libmimalloc-sys/c_src/mimalloc/v3/src/options.c | 628 | // TODO: implement ourselves to reduce dependencies on the C runtime | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | crates/gravity/lowerv4/src/frame/iface.rs | 100 | /// At least as strict as requested. | COMMENT |
| HIGH | …es-18.6-reference/src/tools/ci/ci_macports_packages.sh | 62 | # If setting all the required packages as requested fails, we need | COMMENT |
| HIGH | crates/backend/postmaster/autovacuum/src/worker.rs | 684 | // Perform additional work items, as requested by backends | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ostgres-18.6-reference/contrib/amcheck/verify_heapam.c | 1754 | * We go further, because we need to check if the toast datum is corrupt. | COMMENT |
| LOW | ….6-reference/src/bin/pg_amcheck/t/004_verify_heapam.pl | 145 | # The purpose of this function is to write a tuple back to disk with some | COMMENT |
| LOW | …postgres-18.6-reference/src/backend/utils/mb/mbutils.c | 73 | * This variable stores the conversion function to convert from UTF-8 | COMMENT |
| LOW | …stgres-18.6-reference/src/backend/storage/ipc/shm_mq.c | 870 | * The purpose of this function is to make sure that the process | COMMENT |
| LOW | …ostgres-18.6-reference/src/backend/executor/execMain.c | 154 | * If the transaction is read-only, we need to check if any writes are | COMMENT |
| LOW | …-reference/src/backend/replication/pgoutput/pgoutput.c | 2271 | * across all publications. So we need to check if the already | COMMENT |
| LOW | …res-18.6-reference/src/backend/partitioning/partdesc.c | 448 | * The purpose of this function is to ensure that we get the same | COMMENT |
| LOW⚡ | crates/backend/executor/runtime/src/tests.rs | 2791 | // Step 1: equal pass across queries -> scan order picks A; A completes | COMMENT |
| LOW⚡ | crates/backend/executor/runtime/src/tests.rs | 2800 | // Step 3: equal pass, same query, shallow in the LOWER slot — the | COMMENT |
| LOW | …am/deps/spdlog/include/spdlog/fmt/bundled/format-inl.h | 1244 | // Step 1: integer promotion & Schubfach multiplier calculation. | COMMENT |
| LOW | …am/deps/spdlog/include/spdlog/fmt/bundled/format-inl.h | 1299 | // Step 2: Try larger divisor; remove trailing zeros if necessary. | COMMENT |
| LOW | …am/deps/spdlog/include/spdlog/fmt/bundled/format-inl.h | 1331 | // Step 3: Find the significand with the smaller divisor. | COMMENT |
| LOW | proofs/mbconv/c/orig/mbutils.c | 73 | * This variable stores the conversion function to convert from UTF-8 | COMMENT |
| LOW | crash-simulator/src/runner/shrink.rs | 53 | // Step 1: truncate after the failing interaction. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …18.6-reference/src/pl/plpython/sql/plpython_import.sql | 27 | except Exception as ex: | CODE |
| LOW | …8.6-reference/src/pl/plpython/sql/plpython_ereport.sql | 124 | except Exception as e: | CODE |
| LOW | …8.6-reference/src/pl/plpython/sql/plpython_ereport.sql | 132 | except Exception as e: | CODE |
| LOW | …es-18.6-reference/src/pl/plpython/sql/plpython_spi.sql | 34 | except Exception as ex: | CODE |
| LOW | …es-18.6-reference/src/pl/plpython/sql/plpython_spi.sql | 48 | except Exception as ex: | CODE |
| LOW | …es-18.6-reference/src/pl/plpython/sql/plpython_spi.sql | 63 | except Exception as ex: | CODE |
| LOW | …reference/src/pl/plpython/sql/plpython_transaction.sql | 170 | except Exception as e: | CODE |
| LOW | crates/tpde/fadec-gen/tests/generated_execution.py | 426 | except Exception as error: | STRING |
| LOW | crates/tpde/fadec-gen/tests/generated_execution.py | 444 | except Exception as error: | STRING |
| LOW | crates/tpde/fadec-gen/tests/oracle.py | 255 | except Exception as error: | CODE |
| LOW | crates/tpde/fadec-gen/tests/oracle.py | 331 | except Exception as error: | CODE |
| LOW | crates/tpde/fadec-gen/tests/oracle.py | 350 | except Exception as error: | CODE |
| MEDIUM | crates/tpde/fadec-gen/tests/oracle.py | 327 | def attempt_profile(mode, modes, undoc): | CODE |
| LOW | crates/tpde/fadec/tests/oracle.py | 541 | except Exception as error: | CODE |
| LOW | crates/tpde/fadec/tests/oracle.py | 578 | except Exception: | CODE |
| LOW | wasm/pgwire_stdio_driver.py | 207 | except Exception as e: # EOFError, BrokenPipeError, timeout | CODE |
| LOW | proofs/check-suite-names.py | 106 | except Exception as e: | CODE |
| LOW | proofs/check-suite-names.py | 232 | except Exception as e: # compile break, kani missing, etc. | CODE |
| MEDIUM | scripts/gen-gravity-function-tiers.py | 89 | def __exit__(self, *a): | CODE |
| LOW | scripts/gen-gravity-function-tiers.py | 1360 | except Exception: | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | crates/gravity/lint/rules/rg_spill.py | 25 | CODE | |
| LOW | crates/gravity/lint/rules/rt_thread_state.py | 63 | CODE | |
| LOW | …ose/testdata/gravity/lowerv4/tools/graphprops_facts.py | 36 | CODE | |
| LOW | …reference/contrib/pgcrypto/scripts/pgp_session_data.py | 25 | CODE | |
| LOW | crates/tpde/fadec-gen/tests/reference/parseinstrs.py | 9 | CODE | |
| LOW | crates/tpde/fadec/tests/oracle.py | 14 | CODE | |
| LOW | crates/tpde/fadec/tests/reference/parseinstrs.py | 9 | CODE | |
| LOW | …tpde/compiler-x64/tests/reference/fadec/parseinstrs.py | 9 | CODE | |
| LOW | …nction-writer-x64/tests/reference/fadec/parseinstrs.py | 9 | CODE | |
| LOW | …pde/function-writer-a64/tests/upstream/disarm/parse.py | 5 | CODE | |
| LOW | crates/tpde/disarm/tests/source_model.py | 5 | CODE | |
| LOW | crates/tpde/disarm/tests/encoder_domains.py | 5 | CODE | |
| LOW | crates/tpde/disarm/tests/encoder_domains.py | 7 | CODE | |
| LOW | crates/tpde/disarm/tests/encoder_domains.py | 8 | CODE | |
| LOW | crates/tpde/disarm/tests/encoder_domains.py | 10 | CODE | |
| LOW | crates/tpde/disarm/tests/encoder_domains.py | 11 | CODE | |
| LOW | crates/tpde/disarm/reference/parse.py | 5 | CODE | |
| LOW | crates/tpde/disarm-gen/reference/parse.py | 5 | CODE | |
| LOW | crash-simulator/tests/parity/gen_fixtures.py | 79 | CODE | |
| LOW | scripts/gen-gravity-function-tiers.py | 76 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | crates/backend/executor/runtime/src/tests.rs | 2791 | // Step 1: equal pass across queries -> scan order picks A; A completes | COMMENT |
| LOW⚡ | crates/backend/executor/runtime/src/tests.rs | 2800 | // Step 3: equal pass, same query, shallow in the LOWER slot — the | COMMENT |
| LOW | …am/deps/spdlog/include/spdlog/fmt/bundled/format-inl.h | 1244 | // Step 1: integer promotion & Schubfach multiplier calculation. | COMMENT |
| LOW | …am/deps/spdlog/include/spdlog/fmt/bundled/format-inl.h | 1299 | // Step 2: Try larger divisor; remove trailing zeros if necessary. | COMMENT |
| LOW | …am/deps/spdlog/include/spdlog/fmt/bundled/format-inl.h | 1331 | // Step 3: Find the significand with the smaller divisor. | COMMENT |
| LOW | crash-simulator/src/runner/shrink.rs | 53 | // Step 1: truncate after the failing interaction. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …s/backend/access/pgrcolumnar/pgrc_front/src/segscan.rs | 101 | if self.scan.rs_base.rs_rd.pgstat_enabled.get() { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …contracts-reference/tpde/include/tpde/ValuePartRef.hpp | 194 | /// Usage example: | COMMENT |
| LOW | …ests/reference/tpde/tpde/include/tpde/ValuePartRef.hpp | 194 | /// Usage example: | COMMENT |
| LOW | …ler/tests/reference/tpde/include/tpde/ValuePartRef.hpp | 194 | /// Usage example: | COMMENT |
| LOW | …e/base/tests/upstream/deps/spdlog/include/spdlog/mdc.h | 14 | // Usage example: | COMMENT |
| LOW | wasm/wasm-build.sh | 19 | # Usage: | COMMENT |
| LOW | proofs/typcache-mock/generate.pl | 5 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | wasm/blog/source/posts.json | 96 | "rendered": "<h1></h1>\n<blockquote><p><a href=\"https://malisper.me/table-of-contents/\">I’ve written dozen | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | proofs/typcache-mock/fidelity_check.py | 37 | except ValueError: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …-reference/contrib/unaccent/generate_unaccent_rules.py | 160 | def parse_cldr_latin_ascii_transliterator(latinAsciiFilePath): | CODE |
| LOW | …reference/contrib/pgcrypto/scripts/pgp_session_data.py | 287 | def build_literal_data_packet(data: bytes) -> bytes: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/gravity-gate/multiset.py | 735 | CODE |