nowfound

Life & fun · March 27, 2022

pg_plan_guarantee – Postgres Query Optimizer Hints, on Steroids.

Postgres Query Optimizer Extension that guarantees your desired plan will not change - DrPostgres/pg_plan_guarantee

pg_plan_guarantee – Postgres Query Optimizer Hints, on Steroids. launched on March 27, 2022 with 46 votes, #981 of 3,153 launches that month and more than 75% of that year's launches. The site was still online in September 2026, 4 years on.

In plain words

pg_plan_guarantee is a PostgreSQL extension that provides query optimizer hints to control how the database executes SQL queries. It allows developers and database administrators to override the query planner's decisions when needed, giving them more direct control over query execution paths. The tool is designed for teams managing PostgreSQL databases who need fine-grained optimization capabilities beyond standard query tuning methods.

written from the facts on this page · September 2026

Does a similar job

all alternatives →
  • PRQL in PostgreSQL2024 · github.com · ▲267

    This extension let's you write PRQL functions in PostgreSQL. When I first saw PRQL on Hacker News a few months ago, I was immediately captivated by the idea, yet equally disappointed that there was no integration for PostgreSQL. Having previous experience with writing PostgreSQL extensions in C, I thought this was a great opportunity to try out the pgrx framework and decided to integrate PRQL with PostgreSQL myself. The maintainers of both PRQL and pgrx were very nice to work with. Thanks guys.

  • PostgreSQL index advisor2024 · github.com · ▲417

    This is a Postgres extension that can determine if a query should have an index. For example, for this table: create table book( id int primary key, title text not null ); You can run `index_advisor()` to see if there should be an index on a select statement: select * from index_advisor('select book.id from book where title = $1'); And it will return (summarized): {"CREATE INDEX ON public.book USING btree (title)"} It works particularly well with pg_stat_statements[0] which tracks execution statistics of all SQL statements executed on your Postgres database. It leans heavily on HypoPG[1], an…

  • pg_flame – flamegraph visualizations of PostgreSQL query plans2019 · github.com · ▲321

    A flamegraph generator for Postgres EXPLAIN ANALYZE output. - mgartner/pg_flame

  • PgQueuer – Transform PostgreSQL into a Job Queue2024 · github.com · ▲376

    PgQueuer is a Python job queue that uses PostgreSQL for everything — queue storage, locking, notifications. No Redis, no RabbitMQ, no separate broker to operate. If your app already has Postgres, you already have the broker. After ~2 years and 26 minor releases, 1.0 ships today as the first stable release. Strict semver from here on. Thanks to everyone who contributed and left feedback!

  • Pg_yregress, Structured Testing for Postgres2023 · github.com · ▲56

    Originally inspired by pg_regress, pg_yregress provides a TAP-compatible test executor that allows for better test organization, easier instance management, native JSON handling and so on.

  • PRQL 0.2 – a better SQL2022 · github.com · ▲378

    Hi everyone — thanks for your interest in PRQL — let us know any questions or feedback! We're excited to be releasing 0.2[1], the first version of PRQL you can use in your own projects. It wouldn't exist without the feedback we got from HackerNews when we originally posted the proposal. [1]: https://github.com/prql/prql/releases/tag/0.2.0

More life & fun this month

the category →

Source: Show HN post ↗

Launched alongside, March 2022

the whole month →
  • IM

    Hi HN! I made many small web games in the past with Unity or Phaser. But this time I wanted to make something completely on my own. So I coded a basic game framework in plain JavaScript, and used it to make Almost Pong. This was a really fun project that taught me a lot about JavaScript, and I plan to make more minimalist games with this framework. Interesting fact: Almost Pong doesn't load any assets, all sprites and sounds are generated with code. Happy to answer questions, and please let me know if you have any feedback on the game. Thanks!

    Dev tools · 2022 · lessmilk.com

  • IM

    Life & fun · 2022 · networksfromscratch.com

  • HA

    Paste the following into the console of any HN page - for annotated avatars on all HN comments. (self contained code) for(u of document.querySelectorAll('.hnuser'))for(u.prepend(c=document.createElement('canvas')),x=c.getContext('2d'),c.width=18,c.height=14,s=u.innerText,r=1,i=28+s.length;i--;i>>29>X*X/3+Y/2&&x.fillRect(6+2*X,2*Y,2,2)&x.fillRect(6-2*X,2*Y,2,2):r+=s.charCodeAt(i-28,x.fillStyle='#'+(r>>8&0xFFFFFF).toString(16)))r^=r>>17,r^=r>2

    Dev tools · 2022

  • Tome Beta▲697

    The storytelling tool for work

    Work · 2022 · tome.app

  • Kairn▲694

    Regain control over your days

    Dev tools · 2022

  • How well do you know your area? Test your knowledge by locating streets on a map.

    Work · 2022 · backofyourhand.com