SQLPro icon indicating copy to clipboard operation
SQLPro copied to clipboard

Feature Request: Run a companion command to establish a proxy

Open dpuche opened this issue 9 months ago • 1 comments

Is your feature request related to a problem? Please describe.

To connect to a PostgreSQL DB inside a Kubernetes cluster, i have to run a proxy command (kubectl port-forward XXX 5432:5432), then inside SQLPro connect to the DB, and after my operations, kill the proxy.

Describe the solution you'd like

Would it possible to add a pre-connection shell script to be executed in order to set up the proxy command and to terminate it when it not needed anymore ?

Describe alternatives you've considered

Postico have this kind of feature for establishing the proxy but not for terminating it. https://eggerapps.at/postico2/documentation/connection-preconnect-script.html

Environment (please complete the following information):

  • Macbook M1
  • Mac OS Sequoia 15.3.1
  • SQLPro Studio 2024.21 (Build 111093).
  • Installation source: Website download,.
  • Target database server: PostgreSQL

dpuche avatar Feb 24 '25 07:02 dpuche