
rowdietPostgres column tetris
Paste migration DDL. Postgres pads every row so each column starts on its type's alignment boundary — a bad column order wastes those bytes on every row, and it is only free to fix before the migration is applied. This page runs the real PostgreSQL 17 parser compiled to WebAssembly; nothing leaves your browser. Drag column lines in the editor by their ⋮⋮ handle, or drag the bar segments below — each rewrites the other. Alt+↑/↓ in the text and Alt+←/→ on a focused segment do the same.