Skip to content

ddl_checker: handle io.EOF from stdin without error #868

@mox692

Description

@mox692

Feature Request

Is your feature request related to a problem? Please describe:
When running ddl_checker … < schema.sql, the tool prints

[DDLChecker] Read stdin error: EOF

and exits with status 1, even though EOF is expected when reading a file.

Describe the feature you’d like:
Treat EOF on stdin as normal completion: stop processing without an error message and exit with status 0.

Describe alternatives you’ve considered:
Maintaining a patched fork to special‑case io.EOF.

Teachability, Documentation, Adoption, Migration Strategy:
I believe some users invoke via file redirection in scripts or CI.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions