Thread: Open file in Query tool from command line

Open file in Query tool from command line

From
"Taras Kopets"
Date:
Hi list,
 
I know it is possible to open pgAdmin from command line, connect to db and open query tool.
Is it possible after doing all the above to open file in query tool from command line?
Is will be great, because it will be possible to open files in pgAdmin using "Open With" in Windows or modifying for example how files with some extension must be opened.
 
Taras Kopets

Re: Open file in Query tool from command line

From
Dave Page
Date:
Taras Kopets wrote:
> Hi list,
>  
> I know it is possible to open pgAdmin from command line, connect to db
> and open query tool.
> Is it possible after doing all the above to open file in query tool from
> command line?
> Is will be great, because it will be possible to open files in pgAdmin
> using "Open With" in Windows or modifying for example how files with
> some extension must be opened.

I've added a -f <sql script> option. I'll look at making use of it in
the installer.

Thanks, Dave