-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Remove mandatory sslmode variable when loading a PostGIS Layer #58936
Comments
@cymed what is the dialog you are referring to? |
Isn't "disable" equivalent to not use the SSL mode? |
no, it means to specifically not use SSL mode, overwriting i.e. a sslmode=verify-full on the pg service |
And "prefer" neither works? |
"prefer" allows not passing keys, which can be undesirable.
We should allow to set or not set the sslmode. |
MacOS Sequoia, QGIS 3.38.2 |
This is the feedback I get here too : When using a pg_service, connexion information should not be saved to the QGIS project (except service name of course). This should enable the user to define. @cymed can you check that if you load a layer from a pg_service it works that way too? |
@ponceta When loading a pg_service without defining sslmode in QGIS, it works just fine |
Actually you either have a project configured for pg_service use :
Or for a "direct connexion"
So including sslmode statement in pg_service configured project seems to be a non-sense. But you can easily include it in your pg_configuration : |
Feature description
Currently, when defining a Postgres connection in the data service config, one has to set an ssl mode (the Combobox does not allow NULL values). This can lead to problems when using multiple pg_service files on different user profiles with different ssl mode settings or when sharing projects across organisations. We should allow setting no sslmode.
Additional context
No response
The text was updated successfully, but these errors were encountered: