Skip to content

Conversation

@dessalines
Copy link
Member

No description provided.

@Nutomic
Copy link
Member

Nutomic commented Jan 7, 2026

Its annoying that a simple formatter keeps having changes like this, which require reformatting old files all the time. This adds extra complications with using the right version of pg_formatter locally, and with unnecessary file changes (eg for git blame). Would be good if we could find a better solution for this. Maybe by pinning a specific version of pg_formatter and not upgrading, or using a different formatter.

@dessalines
Copy link
Member Author

I know its kind of annoying, but pg_formatter is the best sql formatter, and just like prettier, i'd rather use the most up to date formatting suggestions rather than being pinned to an older deprecated formatter.

Also you can just run this locally if your distro doesn't use an up to date one (arch / AUR shows is using the correct version)

./scripts/alpine_install_pg_formatter.sh
./scripts/sql_format_check.sh

@dessalines dessalines merged commit 6f45f80 into main Jan 7, 2026
2 checks passed
@dessalines dessalines deleted the pg_formatter_5_9 branch January 7, 2026 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants