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

Make table checkout/checkin case-insensitive #56

Open
seasidesparrow opened this issue Jul 24, 2023 · 0 comments
Open

Make table checkout/checkin case-insensitive #56

seasidesparrow opened this issue Jul 24, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@seasidesparrow
Copy link
Member

The checkout system can get into an unrecoverable state if a table name with any capitalization other than the lower-case name of the table in postgres is checked out (e.g. Master in place of master). When this happens:

  • The table is still marked as exported, but
  • The export has no data, and
  • Attempted check-in with any capitalization fails

The arguments to run.py should be case insensitive to the extent possible. The solution in this case is to apply string.lower() to the table name when arguments are parsed in run.py

@seasidesparrow seasidesparrow added the bug Something isn't working label Jul 24, 2023
@seasidesparrow seasidesparrow self-assigned this Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant