Skip to content
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

Add windows command line support (to allow opening .sql file directly into Query Tool) (RM #3064) #1635

Open
dpage opened this issue Jan 28, 2018 · 3 comments
Labels

Comments

@dpage
Copy link
Contributor

dpage commented Jan 28, 2018

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.

@dpage
Copy link
Contributor Author

dpage commented Feb 16, 2018

Comment migrated from Redmine: https://redmine.postgresql.org/issues/3064#note-1
Originally created by Fahar Abbas at 2018-02-16 11:12:54 UTC.

pgAdmin4 3.0 and onwards versions will completely web based. So not sure if we can implement tis feature. Dave any thougths?

Redmine ticket header update:

Name Old Value New Value
Assigned To changed Dave Page

@dpage
Copy link
Contributor Author

dpage commented May 18, 2018

Comment migrated from Redmine: https://redmine.postgresql.org/issues/3064#note-2
Originally created by Akshay Joshi at 2018-05-18 10:44:08 UTC.

Need some more R&D and design.

Redmine ticket header update:

Name Old Value New Value
Sprint changed Ready

@dpage
Copy link
Contributor Author

dpage commented May 18, 2018

Comment migrated from Redmine: https://redmine.postgresql.org/issues/3064#note-3
Originally created by Akshay Joshi at 2018-05-18 10:44:29 UTC.

Redmine ticket header update:

Name Old Value New Value
Assigned To changed Dave Page

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

2 participants