-
-
Notifications
You must be signed in to change notification settings - Fork 546
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
The value NIL is not of type PGLOADER.CATALOG:COLUMN #872
Comments
Hi, is there a way that you can send me the SQLite file by email? that would help having more information from the backtrace and being able to debug the problem here... thanks. |
The sqlite file is in the mega link, it's a freshly created Plex Media Server database, the extension isn't .db but it's an sqlite file |
Thanks. I could reproduce the problem and I believed I fixed it. Please try from fresh source! Use either the classic |
Now another error appeared:
It looks like when creating an index, the column name should be quoted:.
|
The previous fix was wrong for missing the point: rather than unquote column names in the table definition when matching the column names in the index definition, we should in the first place have quoted the index column names when needed. Fixes #872 for real this time.
Hi again, Seems I was too fast with the previous patch, done in between other things, sorry about that. The real fix is to apply our quoting rules to SQLite index column names, which we failed to do before. With the index entries column names quoted the same way as the table entries column names in the catalogs, now we can match them, and also creating the index doesn't fail. FYI here's the file I've been using. Notice the
|
Thanks, it's perfectly working now |
Yes
Yes, nothing
Load this database into a new Postgres database:
https://mega.nz/#!PQsCACQK!Dos6ndyL3ng0hBVC0Zyg9mkmjQxlzkEpAphPgP9xAD4
The value NIL is not of type PGLOADER.CATALOG:COLUMN
Full debug log:
https://gist.github.com/drouarb/3d1911bb5ee453dbac7ba0540b456d5c
The text was updated successfully, but these errors were encountered: