Обсуждение: Open file in Query tool from command line

Поиск
Список
Период
Сортировка

Open file in Query tool from command line

От
"Taras Kopets"
Дата:
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

От
Dave Page
Дата:
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