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

RDB Loader: fix ignored schema in metadata queries #178

Closed
chuwy opened this issue Mar 18, 2020 · 0 comments
Closed

RDB Loader: fix ignored schema in metadata queries #178

chuwy opened this issue Mar 18, 2020 · 0 comments
Labels
Milestone

Comments

@chuwy
Copy link
Contributor

chuwy commented Mar 18, 2020

LoaderA.executeUpdate(SqlString.unsafeCoerce(s"SET SEARCH_PATH TO $dbSchema")) *>

Above statement supposed to make sure that next query is specific to one schema, but apparently it doesn't work. If user has two tables with same name in different schemas the SELECT obj_description(oid) will return two rows.

@chuwy chuwy added the bug label Mar 18, 2020
@chuwy chuwy added this to the Release 33 milestone Mar 18, 2020
@chuwy chuwy changed the title Loader: fix ignored schema in metadata queries RDB Loader: fix ignored schema in metadata queries Nov 30, 2020
@chuwy chuwy closed this as completed in 74d8581 Dec 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant