FeedExploreAsk AIAlertsSavedProfile

Categories

AICybersecurityInfrastructureDatabaseTech Updates

Tech news that matters.

FeedExploreAskAlertsSavedProfile
Back to feed
Database

New Tool Makes PostgreSQL Code Easier to Compare

A software developer at a desk compares two versions of a PostgreSQL database schema on a computer monitor.
PostgreSQL logo
PostgreSQL news →

TL;DR: A code formatter for PostgreSQL, pgfmt, can now format code to match the standard pg_dump tool. This makes it much easier for developers to track and compare changes in database schemas.

By Taranpreet Singh·just now·2 min read·updated 59m ago
Source

Key facts

Category
Database
Impact
Medium
Published
just now
Source
PostgreSQL News

Full summary

A new version of the PostgreSQL code formatter pgfmt can now mimic the standard pg_dump tool's output style.

pgfmt, a specialized tool for automatically formatting PostgreSQL code, has been updated to version 2.1. Code formatters help maintain a consistent style across a project, making code easier to read and manage for teams. This new release introduces two major features that streamline workflows for developers and database administrators. The first is the ability to format SQL code to match the output style of pg_dump, a standard and widely used utility for backing up PostgreSQL databases. The second key feature is in-place formatting, which allows users to apply changes directly to a source file using a simple command-line flag. This update also makes the tool more accessible, as it is now available for installation through the popular macOS package manager Homebrew. Other installation methods, including using a direct install script or pre-built binaries, remain available for different operating systems and preferences.

The new pg_dump compatibility is a significant improvement for database schema management, particularly for teams using version control systems like Git. When a database schema is stored as code, minor formatting differences—like changes in whitespace or line breaks—can create a lot of "noise" when comparing versions. This makes it difficult to spot meaningful structural changes, such as a new column being added to a table. By ensuring the formatting is identical to the output of pg_dump, pgfmt eliminates this noise, resulting in clean and reliable comparisons, or "diffs." This allows developers and database administrators to focus solely on the substantive changes to the database structure. This capability is crucial for reviewing code, managing complex database migrations, and maintaining a clear history of how the database has evolved over time. The in-place formatting feature further simplifies this process by reducing the steps needed to apply consistent styling.

Related on Notifire

  • ResearchPostgres at scale
  • ComparePostgreSQL vs MySQL
  • CompareRedis vs Valkey
  • Comparepgvector vs Pinecone

✦ Notifire newsletter

Get more Database intelligence

Join engineers getting Notifire’s verified tech briefings — short, sourced, and free. No spam, unsubscribe anytime.

The day's most important tech briefings. No spam, unsubscribe anytime.

Related stories

Primary source: PostgreSQL News

Part of our research on

  • PostgreSQL at scale →

Tech intelligence for engineering teams

Short, verified briefings on AI, cybersecurity, infrastructure, and data — with the analysis and action steps that matter. Every briefing is sourced, fact-checked, and bylined to a named editor.

[email protected]Story tips & corrections welcomeHow we report →

The Notifire briefing

Verified tech intelligence in your inbox — AI, security, infra, and data.

The day's most important tech briefings. No spam, unsubscribe anytime.

Sections

  • AI
  • Cybersecurity
  • Infrastructure
  • Database
  • Tech Updates
  • Web3 & Chains

Newsroom

  • About Notifire
  • Editorial team
  • Editorial standards
  • Methodology
  • AI disclosure
  • Corrections

Resources

  • Explore
  • Research hubs
  • Comparisons
  • Tech glossary
  • FAQ
  • Alerts & watchlists

Follow

  • RSS feed
© 2026 NotifirePrivacyTermsCorrections
An independent, AI-assisted publication. Built at </Alpheric>
IntelligenceLive panel
Live

Top trending

Last 24h

    Popular tags

    Add to watchlist

    +OpenAI+Claude+PostgreSQL+Kubernetes+Cloudflare+AWS+CVE Critical

    Notifire score

    0–100 priority signal — combines impact, freshness, trending velocity, and source credibility.

  1. Atom feed
  2. LinkedIn
  3. X / Twitter
  4. Facebook
  5. Instagram
  6. YouTube