Jira issue originally created by user @doctrinebot:
This issue is created automatically through a Github pull request on behalf of x42p:
If the database have different schemes, with objects, that the actual logged in user has no rights, the existing statements will collect all objects (sequences and tables) and try to read them in later steps. This will throws exceptions. The reason for that is the fact, that both procedures getListSequencesList() and getListTablesSQL() will receive all known database objects from postgres catalogs. But the actual logged-in user, maby has no read permissions to object inside other scheme-owner. The additional parts inside both sql-statements will reduce the result to only objects that the user are able to see.
Comment created by @doctrinebot:
A related Github Pull-Request [GH-626] was closed:
Issue was closed with resolution "Incomplete"