Describe the bug
I want to access a cloud-based postgreSQL DB with this adapter. There, I do not have access to the postgres DB, only to my dedicated DB. So it should be sufficient to tick Datenbank nicht erstellen (bereits erstellt) because then no DB would have to be registered in the postgres DB.
To Reproduce
Steps to reproduce the behavior:
- Go to
/#tab-instances/config/system.adapter.sql.0
- Choose
PostegreSQL as DB type
- Enter valid credentials/parameters
- Make sure to select
Datenbank nicht erstellen (bereits erstellt)
- Click on "Verbindung testen"
- See error:
error: permission denied for database "postgres"
Expected behavior
A connectin to the DB should be established, even when the DB user does not have permission to access DB postgres if adapter.config.doNotCreateDatabase is true.
Currently, connection to postres is attempted altough this is not needed:
if (adapter.config.doNotCreateDatabase) {
_client.disconnect();
postgresDbCreated = true;
Versions:
- Adapter version:
v3.0.1
- JS-Controller version:
6.0.11
- Node version:
v20.17.0
- Operating system:
Debian GNU/Linux 12 (bookworm)
Describe the bug
I want to access a cloud-based postgreSQL DB with this adapter. There, I do not have access to the
postgresDB, only to my dedicated DB. So it should be sufficient to tickDatenbank nicht erstellen (bereits erstellt)because then no DB would have to be registered in thepostgresDB.To Reproduce
Steps to reproduce the behavior:
/#tab-instances/config/system.adapter.sql.0PostegreSQLas DB typeDatenbank nicht erstellen (bereits erstellt)error: permission denied for database "postgres"Expected behavior
A connectin to the DB should be established, even when the DB user does not have permission to access DB
postgresifadapter.config.doNotCreateDatabaseis true.Currently, connection to
postresis attempted altough this is not needed:Versions:
v3.0.16.0.11v20.17.0Debian GNU/Linux 12 (bookworm)