Edition of Friday 27 November 2026

Hints and hazards: pg_plan_advice in PG19

Comments on “Hints and hazards: pg_plan_advice in PG19”

Claim-checked. Scored by all three judges, and its checkable claims were compared with the sources it cites. How far stories are checked

ClickHouse's write-up tests pg_plan_advice, one of two contrib modules in Postgres 19 for query hints; the other, pg_stash_advice, attaches hints to query IDs. On ClickHouse Managed Postgres, a bitmap scan hint cut one query from about 1,462 ms to under 10 ms, and a join-order hint cut another from about 3,837 ms to 20 ms. After the data changed, the stale hint made the first query roughly 7,000 times slower than the unhinted plan. The tests are artificial, so the author advises periodic re-checks of hints.

Read the original at clickhouse.com. The judges saw only its text, with the site, the author and link domains removed; they are shown again after ranking.

Why it ranked

No. 13 of 96 with a score of 0.65. The panel rated it highest on technical depth (0.90) and new information (0.86), lowest on significance (0.53). Placed No. 13, No. 21 by score alone: the placement terms moved other stories past it.

AI judgeJudge 2claude-haiku-5-5
Solid hands-on testing of a new Postgres 19 contrib module with reproducible explain plans and clear caveats. Narrow to database engineers, not broad tech; the planner-hint topic is specialized but highly practical for those users.
AI judgeJudge 3gpt-5.6-luna
A deeply technical, well-supported PostgreSQL 19 engineering write-up with reproducible SQL, execution plans, benchmarks, and operational caveats. It is highly actionable for database and infrastructure builders, though mainly relevant to the PostgreSQL niche.

Each judge wrote its line after answering the rubric, with the site and the author still hidden. Every answer behind this is in the table under Score.

Score

0.65total under rubric v2.3

Judges’ mean answer per question, on a scale from 0 to 1. Questions marked minus count against the score.
  • Significance0.53
  • Reader interest0.74
  • Audience breadth0.56
  • Practical relevance0.74
  • Substantiated0.84
  • Technical depth0.90
  • New information0.86
  • Counts against: Promotional0.08
  • Counts against: Overclaim0.17

Each judge’s answer per question (0–1), their mean and spread, and what the question adds to the score (weight × mean).

QuestionJudge 1Judge 2Judge 3MeanSpreadWeightContribution (weight times mean)
SignificanceHow much does this change what people in tech know or can do?0.530.450.620.530.17+0.24+0.128
Reader interestWould a well-informed senior engineer or tech founder want to read this today, and likely pass it on?0.640.700.880.740.24+0.26+0.192
Audience breadthHow many people who build technology does it concern?0.540.550.580.560.04+0.13+0.072
Practical relevanceHow useful is it to someone who builds software or tech products?0.760.650.820.740.17+0.22+0.164
SubstantiatedHow well is it backed? Consider whether it is the primary source, and whether its main claims come with data, code, a demo, a reproducible method or citations.0.830.800.880.840.08+0.05+0.042
Technical depthHow technically substantive is it?0.990.800.900.900.20+0.05+0.045
New informationDoes it contain information absent from the stories covered in the last 7 days (list provided)?0.800.850.940.860.14+0.05+0.043
PromotionalIs it mainly marketing with little substance (a press release, ad or sponsored post with no real information)? A launch post that carries real news is not promotional.0.070.100.080.080.03−0.19−0.016
OverclaimDo the headline or conclusions claim more than the body supports?0.180.200.120.170.08−0.11−0.018
Sum of contributions+0.652
Claim-check penalty0.000
Total, as published0.652

Spread is the highest minus the lowest judge answer. marks a spread above 0.40: the judges disagree, and the story is marked contested.

The badge for this ranking, for the author's page or anyone's: one line of HTML, and it links back here.

Ranked #13 on Rubric, 27 Nov 2026
<a href="https://rubric.hrih.si/editions/2026-11-27/13/"><img src="https://rubric.hrih.si/badge/2026-11-27/13.svg" alt="Ranked #13 on Rubric, 27 Nov 2026" width="245" height="28"></a>

Claim check

Claim check: 2 matches source · 4 no source given · 2 couldn’t check. Each claim is compared with the source the article itself cites; a flag is published only when both checkers agree.

  1. Couldn’t checkVersion

    Postgres 19 adds two new contrib modules that together provide plan hints without affecting all queries or SQL syntax.

    The source was unreachable, paywalled or too long, or the two checkers disagreed.

    The article says

    “Postgres 19 brings 2 new contrib modules that collectively provide the plan hint experience without affecting all queries or SQL syntax”

    The source says

    No passage could be compared.

    Source cited by the article: postgresql.org/docs/19/pgplanadvice.html

  2. Matches sourceVersion

    pg_plan_advice works at the session level and lets users specify scan method, join order, join method, parallelism, partitionwise joins, and semijoin uniqueness.

    The cited source says the same thing.

    The article says

    “letting you specify scan method, join order, join method, parallelism, partitionwise joins, and semijoin uniqueness”

    The source says

    “In the example above, pg_plan_advice emits advice for the join order, the join method, the scan method, and the use of parallelism”

    Source cited by the article: postgresql.org/docs/19/pgplanadvice.html

  3. Matches sourceVersion

    pg_stash_advice applies hints to query identifiers rather than specific queries, and supports the same plan-affecting capabilities as pg_plan_advice.

    The cited source says the same thing.

    The article says

    “This is meant to apply to query identifiers instead of specific queries”

    The source says

    “An advice stash is a mapping from query identifiers to plan advice strings”

    Source cited by the article: postgresql.org/docs/19/pgstashadvice.html

  4. No source givenNumber

    In the clustered-events test, the default plan took about 1462 ms, while the bitmap heap scan advice brought execution under 10 ms.

    The article gives no link or citation for it.

    The article says

    “First, we got <10ms execution time, so the bitmap heap scan actually did help”

    The source says

    No source to compare with.

  5. No source givenNumber

    With JOIN_ORDER advice, the join query's execution time dropped from about 3837 ms to about 20 ms, a nearly 200x improvement.

    The article gives no link or citation for it.

    The article says

    “A nearly 200x improvement is absurdly better”

    The source says

    No source to compare with.

  6. No source givenNumber

    After the data changed so every third row was 'failed', the query with the bitmap heap scan hint was 7,000 times slower than the unhinted plan.

    The article gives no link or citation for it.

    The article says

    “That’s 7,000 times worse, and the feedback doesn’t show a problem because it’s still matched”

    The source says

    No source to compare with.

  7. No source givenCausal conclusion

    The planner's row estimate error in the join case stems from assuming filters on different tables are independent.

    The article gives no link or citation for it.

    The article says

    “In general, it assumes that filters on different tables are independent of each other, which is a fairly easy assumption to violate”

    The source says

    No source to compare with.

  8. Couldn’t checkGeneralization

    pg_stash_advice advice is not WAL-logged and so needs special handling for HA failover.

    The source was unreachable, paywalled or too long, or the two checkers disagreed.

    The article says

    “note that this needs special handling for HA failover since it is not WAL-logged, and is not well explored”

    The source says

    No passage could be compared.

    Source cited by the article: postgresql.org/docs/19/pgstashadvice.html

Also covered by

No other coverage was clustered with this story.

Elsewhere

Elsewhere: HN 1 pts, not on front page

Discussion on Hacker News

Recorded for context only, checked 27 Nov 2026, 05:46 UTC. It played no part in the ranking.

Panel for this edition

Four AI agents ranked this edition: three judges scored every story blind to its site and author, and a fourth compared the top stories’ claims with the sources they cite. Summaries are written by AI.

Model versions are pinned for every edition. How ranking works describes rubric v2.3.

Comments

Readers’ comments on this story have a page of their own, ranked by a public rubric rather than by votes.

Comments on “Hints and hazards: pg_plan_advice in PG19”

More on Rubric

From the last 7 editions, chosen by shared topic, score and date.