You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--Given schema:table 'public:a'//....
whereAND'""'|| table_schema ||'"".""'|| table_name ||'""'IN ({tableNames})
--Here the where resolves to '"public"".""a"' IN ({tableNames})
To test it run the following:
createtablepublic.a (id int generated always as identity(start with 1 increment by 1), val int);
createtablepublic.b (id serial, val int);
selectisc.table_schema,
isc.table_name,
'"'||isc.table_schema||'"".""'||isc.table_name||'"' wrong_but_currently_implemented_format,
'"'||isc.table_schema||'"."'||isc.table_name||'"' suggested_fix
FROMinformation_schema.columns isc
whereisc.table_schemain('public')
I'd be happy to PR the quote-fix if you'd like!
/Tobias
The text was updated successfully, but these errors were encountered:
Hi Jimmy, and again: great lib :)
There seems to be an issue with PostgresDbAdapter.BuildReseedSql
The issue boils down to a mismatch between the C# & PgSQL table name concatenation:
Here's the GetFullName:
To test it run the following:
I'd be happy to PR the quote-fix if you'd like!
/Tobias
The text was updated successfully, but these errors were encountered: