Open jtorral opened 1 year ago
Same problem here when using quote identifiers
.
The issue seems to be that there are double quotes applied twice for the column name:
column ""IDcolumn"" of relation "sometable" does not exist
Removing quote_ident
for a.attname
in the following line should fix it I guess:
|| pg_get_serial_sequence(quote_ident(nspname) || '.' || quote_ident(relname), quote_ident(a.attname)) || ''')::regclass limit 1), 1) from only '
So should be:
|| pg_get_serial_sequence(quote_ident(nspname) || '.' || quote_ident(relname), a.attname) || ''')::regclass limit 1), 1) from only '
edit Just noticed there is already a PR to fix this issue: https://github.com/dimitri/pgloader/pull/1509
Version Info
Btw, this is confusing. Base don version you see above. but ...
The following errors cause pgloader to just fail
From the above message, it looks like ( select oid from reloids) is the issue.
All tables from mysql get brought over to postgres. So the initial message of
column ""unique ID"" of relation "random_number_test" does not exist
Is a little misleading. At least for me.
This is my load file