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
Support for more client apps #744
Comments
It would be nice if that popup could autodetect installed PostgreSQL clients. I don't want to be responsible for choosing which clients are supported, and which are not. Do all those clients support the |
I don't think they do support the scheme. What about making the list configurable? |
I once looked into the possibilities to support pgAdmin4. However, without support for an url handler nor command line switches, it seems impossible to tell the client application what database to connect to. |
I checked the docs, and I found a pretty nice API introduced in macOS 12 that makes it easy to find apps that can handle a specific URL scheme: import Cocoa
let appUrls = NSWorkspace.shared.urlsForApplications(toOpen: URL(string: "postgresql://localhost")!) If PostgreSQL clients all supported the (We would of course need to add some logic to deal with multiple copies of the same app) Right now, Postico is the only app on my computer that supports Maybe we can suggest to app developers that they should add URL handlers to their apps. Without URL handlers and with no Apple Script support, it's going to be very hard to launch other apps... |
Please allow to extend the list of client apps, or at least add more options
Some apps that would be great supporting:
many more here https://wiki.postgresql.org/wiki/PostgreSQL_Clients
Thanks!
The text was updated successfully, but these errors were encountered: