Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All lines of .schema output have the same length (trailing space padding on every line) #146

Open
CodingDoug opened this issue Aug 9, 2023 · 0 comments

Comments

@CodingDoug
Copy link
Contributor

The output of .schema is excessively large, especially in the case where there is at least one very long line (e.g. a trigger statement body) anywhere in its output. All lines of output have the same length as the longest line of output.

The problem is generally invisible in a shell until that one long line exceeds the width of the shell's window. At that point, every line now takes more than 1 physical line to render, because the trailing spaces causes each line to wrap.

Perhaps .schema is unnecessarily using a fixed-width table for output when instead it could just use raw lines?

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

No branches or pull requests

1 participant