You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In pgAdminIII there was windows command line support which would allow to connect directly to a database and pass in a file. This allowed me to associate the file with pgAdminIII in windows. Upon doing that I was able to double click a .sql file and it would open pgAdminIII, connect to a database that was predetermined by me, and pass in the sql statement directly into the Query tool.
The command below allowed double clicking the file to (open pgAdminIII,connect, auto populate sql statement from file into Query Tool)
"C:\Users\Ryan\pgsql\bin\pgAdmin3.exe" -qc "host=localhost dbname=data port=5432 user=Ryan" -f "%1"
The command below allowed double clicking the file to (open pgAdminIII, [alert box to input server, database, etc], auto populate sql statment from file into Query Tool)
"C:\Users\ruhlman\pgsql\bin\pgAdmin3.exe" -q -f "%1"
Thank you for your support.
The text was updated successfully, but these errors were encountered:
Issue migrated from Redmine: https://redmine.postgresql.org/issues/3064
Originally created by Ryan Uhlman at 2018-01-28 09:38:07 UTC.
In pgAdminIII there was windows command line support which would allow to connect directly to a database and pass in a file. This allowed me to associate the file with pgAdminIII in windows. Upon doing that I was able to double click a .sql file and it would open pgAdminIII, connect to a database that was predetermined by me, and pass in the sql statement directly into the Query tool.
The command below allowed double clicking the file to (open pgAdminIII,connect, auto populate sql statement from file into Query Tool)
"C:\Users\Ryan\pgsql\bin\pgAdmin3.exe" -qc "host=localhost dbname=data port=5432 user=Ryan" -f "%1"
The command below allowed double clicking the file to (open pgAdminIII, [alert box to input server, database, etc], auto populate sql statment from file into Query Tool)
"C:\Users\ruhlman\pgsql\bin\pgAdmin3.exe" -q -f "%1"
Thank you for your support.
The text was updated successfully, but these errors were encountered: