Skip to content

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

Description

@CodingDoug

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions