News for hackers. Stuff that matters.
Re:Sqlfmt: an opinionated online SQL formatter by PaulJulius on Thursday September 27, 2018 @05:02PM (#18088645)
I was just wishing for a better SQL formatter! I'm wasting too much time pasting queries into a doc just to reformat them.

It would be great if the parser supported question marks as placeholders. The pg_stat_statements table in Postgres saves denormalized queries, replacing the literal values with '?' placeholders (e.g., `SELECT * FROM table_name WHERE id = ?`).

There are no comments on this comment yet.