jordi fita mas dd2beba676 Change port’s Label to a CheckBox
For host, database name, and options i can leave them blank to use the
default value, but for the port i can’t with a SpinBox, since it _must_
have a value.

Qt’s driver uses -1 to mean “default port”, but i can not use the same
approach with the user interface, because there is no port -1, and makes
no sense to allow that value, specially since i then i have to allow 0
as well, which is a reserved port.

I also can not leave the SpinBox with PostgreSQL’s default port, 5432,
because that is slightly different than telling libpq to use the
“default”: if someone uses a ‘service=’ option, it would use the port in
the SpinBox rather than the one in ‘pg_service.conf’, if any.

My solution is to use a checkbox to tell the application “i wan to use a
port number”, and (will) only pass the port number if it is checked.  On
the other hand, now i do not have a keyboard shortcut to focus on the
port number field.
2024-12-23 00:09:44 +01:00
2024-03-05 12:05:00 +01:00
2024-11-20 19:43:59 +01:00
2024-07-15 23:12:12 +02:00
2024-12-23 00:09:44 +01:00
2024-12-14 01:19:20 +01:00
2024-04-28 20:28:45 +02:00
2024-04-28 20:28:45 +02:00
2024-01-28 18:12:38 +01:00
Description
No description provided
13 MiB
Languages
PLpgSQL 67.5%
Go 24.3%
CSS 3.9%
C++ 1.8%
QML 1.2%
Other 1.1%