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

listTables is broken on PostgreSQL #5574

Closed
ddeboer opened this issue Aug 8, 2022 · 4 comments
Closed

listTables is broken on PostgreSQL #5574

ddeboer opened this issue Aug 8, 2022 · 4 comments

Comments

@ddeboer
Copy link

ddeboer commented Aug 8, 2022

Bug Report

Q A
Version 3.4.0

Summary

PostgresSQLSchemaManager::listTables() returns no tables for a database connection that does have tables.

Is this related to #5268 and other work on the introspection methods?

Current behaviour

An empty list of tables is returned.

How to reproduce

On an existing Postgres database that has at least one table:

$schemaManager = PostgresSQLSchemaManager::createSchema(); 
$schemaManager->listTables();

Expected behaviour

All existing tables should be returned.

@NoiseByNorthwest
Copy link

Same issue I think #5573

@NoiseByNorthwest
Copy link

It seems to be caused by the unexpected use of current_schemas(false) to filter tables as mentionned in #5573

@ddeboer
Copy link
Author

ddeboer commented Aug 8, 2022

Yep, same issue (with 4 mins difference 😄), so closing this as a duplicate of #5573.

@ddeboer ddeboer closed this as completed Aug 8, 2022
@morozov morozov closed this as not planned Won't fix, can't repro, duplicate, stale Aug 9, 2022
@github-actions
Copy link

github-actions bot commented Sep 9, 2022

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants