What would Postgres do?
Blog post from PlanetScale
Neki, a sharded PostgreSQL-compatible database, uses PostgreSQL as a differential-testing oracle to check that query results, errors, and protocol behavior match. Because query plans can change with table statistics and sharding topology, its tests vary those inputs, discover alternative plans, and execute them against the same data; tests also cover different protocol modes and both favorable and deliberately unfavorable shard layouts. This approach has uncovered bugs that ordinary tests missed, including a case where some plans reevaluated a volatile random() expression instead of materializing a common table expression as PostgreSQL does. The team supplements regression and workload queries with fuzzing, reporting more than 70 bugs found through fuzz testing since the work began. By comparing outputs rather than manually specifying expected results, the method checks many query-plan variants against PostgreSQL with relatively little test-specific setup.
No tracked trend matches for this post yet.
Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.