SQL

PostgreSQL

Step-by-step articles on PostgreSQL, part of our SQL collection.

  • 10 articles
  • 16 min of reading
  • 2 sub-topics
  • 27 Sep, 2026 last updated

Showing 10 articles

PostgreSQL 2 min read

Working with JSONB in PostgreSQL

JSONB stores JSON in a binary format that PostgreSQL can query and index efficiently. It's ideal for data whose shape varies: webhook payloads, settings, product attributes. JSON vs JSONB json stores the text as-is; jsonb parses it into a binary form, drops du...

04 Aug, 2026 Author 1.42K 56
Read article
PostgreSQL 1 min read

Full-Text Search in PostgreSQL

For many apps, PostgreSQL's built-in full-text search is good enough to skip running a separate search engine. It handles stemming ("running" matches "run"), ranking and boolean queries. Core concepts SELECT to_tsvector('english', 'The runners were running qui...

24 May, 2026 Author 1.29K 98
Read article
PostgreSQL 1 min read

SQL Window Functions and CTEs in PostgreSQL

Window functions compute values across related rows without collapsing them like GROUP BY does. Combined with CTEs, they replace a lot of application-side data crunching. Window function basics SELECT customer_id, id AS order_id, total_paise, ROW_NUMBER() OVER...

06 May, 2026 Author 1.24K 75
Read article
PostgreSQL 2 min read

What's New in PostgreSQL 18

PostgreSQL 18 was released in September 2025. Here are the changes most relevant to application developers and operators. Asynchronous I/O A new asynchronous I/O subsystem lets PostgreSQL issue several reads at once instead of waiting for each one. Sequential...

18 Apr, 2026 Author 288 35
Read article