dbeaver icon indicating copy to clipboard operation
dbeaver copied to clipboard

dbeaver/dbeaver#39595: Make URL input field readonly copyable instead…

Open ged-yuko opened this issue 1 month ago • 2 comments

Closes https://github.com/dbeaver/dbeaver/issues/39595 by making URL input field readonly copyable in Host mode for Postgresql connection configuration

изображение

ged-yuko avatar Nov 07 '25 21:11 ged-yuko

I don't like this solution because it is specific to Postgres. This issue affects all database connection pages. Could you make your solution less driver-specific?

IvanGorshechnikov avatar Nov 12 '25 11:11 IvanGorshechnikov

@IvanGorshechnikov

I don't like this solution because it is specific to Postgres. This issue affects all database connection pages. Could you make your solution less driver-specific?

The logic of the mode switching is already resided in the ConnectionPageAbstract common super class. But, as far as i understand, the Host-vs-URL configuration mode switching supported in a database-specific basis across very few database (MySQL, SQLServer, GaussDB, Kingbase, Postgresql, DB2 and Generic here in CE). Each of the corresponding connection page implementations has its own definition of the urlText field, which needs to be configured. As such, please, note that the logic of the solution is not driver-specific as well already.

Would you like me to apply required configuration of the urlText field for all the other connection pages containg such a field?

And also there are DBeaver's non-community editions, i don't know if any connection pages there also have urlText field.

ged-yuko avatar Nov 12 '25 14:11 ged-yuko