Radim Marek from boringSQL talks about tests for SQL - It works on my database - Regression testing of SQL queries

#postgresql #pgconfde #boringsql

Good CTE, bad CTE

The planner treats CTEs very differently depending on how you write them. Here's what happens under the hood, version by version, through PostgreSQL 18.

boringSQL | Supercharge your SQL & PostgreSQL powers
Instant database clones with PostgreSQL 18

Learn how to clone PostgreSQL databases instantly using reflinks. Turn slow template copies into milliseconds with PostgreSQL 18's new file copy options.

boringSQL | Supercharge your SQL & PostgreSQL powers
VACUUM Is a Lie (About Your Indexes)

PostgreSQL VACUUM cleans tables but leaves indexes bloated. Learn why B-trees fragment and how to fix them properly.

boringSQL | Supercharge your SQL & PostgreSQL powers

With summer in full swing it's time to take things easy - Gentle Introduction to Window Functions is for those stuck in SQL-92 times :)

https://notso.boringsql.com/posts/window-functions-introduction/

#postgresql #boringsql

Gentle Introduction to Window Functions in PostgreSQL | boringSQL

Deep dive into SQL & PostgreSQL to build reliable, rock-solid solutions with tips and tricks that keep business online. Data is everything. Explore, learn and innnovate to get them where you need faster and more efficiently.

The time keepers: pg_cron and pg_timetable | boringSQL

Deep dive into SQL & PostgreSQL to build reliable, rock-solid solutions with tips and tricks that keep business online. Data is everything. Explore, learn and innnovate to get them where you need faster and more efficiently.

Almost no PostgreSQL cluster can run without job scheduler - let's find out when to pick pg_cron and when it's time to power up with pg_timetable

https://notso.boringsql.com/posts/time-keepers-pg-cron-pg-timetable/

#postgresql #boringsql

The time keepers: pg_cron and pg_timetable | boringSQL

Deep dive into SQL & PostgreSQL to build reliable, rock-solid solutions with tips and tricks that keep business online. Data is everything. Explore, learn and innnovate to get them where you need faster and more efficiently.

Now with the PostgREST deep dive completed, you can find it (and hopefully share it) as single guide

https://notso.boringsql.com/guides/postgrest-apis-made-easy/

#postgresql #postgrest #boringSQL

PostgREST Tutorial: APIs made easy | boringSQL

Practical guide that deep dives into the world of building APIs with PostgREST, a tool that leverages your existing PostgreSQL database.

Time for PostgREST - we are closing the series with the authentication and authorization.

https://notso.boringsql.com/posts/postgrest-tutorial-part3/

#PostgreSQL #APIs #boringSQL

Deep Dive into PostgREST - Time Off Manager (Part 3) | boringSQL

Deep dive into SQL & PostgreSQL to build reliable, rock-solid solutions with tips and tricks that keep business online. Data is everything. Explore, learn and innnovate to get them where you need faster and more efficiently.

It's PostgreSQL extension time! Rust + pgrx = surprisingly magical combo. ✨ All that with sample pg_sysload for smarter batch processing based on the system load

#boringSQL #rust #postgresql

https://notso.boringsql.com/posts/custom-postgresql-extensions-with-rust/

Custom PostgreSQL extensions with Rust | boringSQL

Deep dive into SQL & PostgreSQL to build reliable, rock-solid solutions with tips and tricks that keep business online. Data is everything. Explore, learn and innnovate to get them where you need faster and more efficiently.