Re: pgAdmin commandLine

From: Saif Manai <manaisaif24(at)gmail(dot)com>
To: Aditya Toshniwal <aditya(dot)toshniwal(at)enterprisedb(dot)com>
Cc: "pgadmin-support lists(dot)postgresql(dot)org" <pgadmin-support(at)lists(dot)postgresql(dot)org>, Ni Ne <nineoften(at)hotmail(dot)com>
Subject: Re: pgAdmin commandLine
Date: 2021-10-25 17:06:05
Message-ID: CAGbbe89hfMWDVVQvUePJTj3_G1KJEb5sUKAnrHRNfzTL2Su4pQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

For automation reason, i want to open the server dialog from "Object" list
and not from "Servers" browser.
This is does not worl for the first server connexion

Le lun. 25 oct. 2021 à 11:36, Saif Manai <manaisaif24(at)gmail(dot)com> a écrit :

> Got it, thanks!
>
> Le lun. 25 oct. 2021 à 06:08, Aditya Toshniwal <
> aditya(dot)toshniwal(at)enterprisedb(dot)com> a écrit :
>
>>
>>
>> On Sat, Oct 23, 2021 at 5:09 AM Ni Ne <nineoften(at)hotmail(dot)com> wrote:
>>
>>> Saif,
>>>
>>> Try first to open a command terminal by typing cmd.exe from the Windows
>>> Run prompt. Then from that window execute the psql commands.
>>>
>> Right. Sharing the screenshot.
>> [image: image.png]
>>
>>
>>>
>>> Get Outlook for Android <https://aka.ms/AAb9ysg>
>>> ------------------------------
>>> *From:* Saif Manai <manaisaif24(at)gmail(dot)com>
>>> *Sent:* Friday, October 22, 2021 7:38:07 AM
>>> *To:* Aditya Toshniwal <aditya(dot)toshniwal(at)enterprisedb(dot)com>
>>> *Cc:* pgadmin-support lists.postgresql.org <
>>> pgadmin-support(at)lists(dot)postgresql(dot)org>
>>> *Subject:* Re: pgAdmin commandLine
>>>
>>> Thank you for your reactivity.
>>> When i double click psql a commandLine appear and disappear directely
>>> without having the time to connect to server.
>>> Is there anyway to use when comand psql with server, database password,
>>> username and port in parameters?
>>>
>>> Le ven. 22 oct. 2021 à 13:18, Aditya Toshniwal <
>>> aditya(dot)toshniwal(at)enterprisedb(dot)com> a écrit :
>>>
>>> Hi Saif,
>>>
>>> You can use PostgreSQL provided psql or pgAdmin shipped psql in
>>> - C:\Program Files\pgAdmin 4\v6\runtime.
>>>
>>> On Fri, Oct 22, 2021 at 3:48 PM Saif Manai <manaisaif24(at)gmail(dot)com>
>>> wrote:
>>>
>>> Hello,
>>>
>>> I had pgAdmin4 v4.3 and installed recently v6.1 (last one).
>>>
>>> Is there a way to launch a connection to a server (or database) by
>>> command line without opening the UI, like this exemple for HeidiSQL on
>>> Windows :
>>> "D:\HeidiSQL\heidisql.exe" -n "8" -h "{Address}" -u "{UserName}" -p
>>> "{Password}" -db "{Database}" -P "{Port}"
>>>
>>> Thank you in advance
>>>
>>> Best Regards,
>>>
>>>
>>>
>>> --
>>> Thanks,
>>> Aditya Toshniwal
>>> pgAdmin Hacker | Software Architect | *edbpostgres.com*
>>> <http://edbpostgres.com>
>>> "Don't Complain about Heat, Plant a TREE"
>>>
>>>
>>
>> --
>> Thanks,
>> Aditya Toshniwal
>> pgAdmin Hacker | Software Architect | *edbpostgres.com*
>> <http://edbpostgres.com>
>> "Don't Complain about Heat, Plant a TREE"
>>
>

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Saif Manai 2021-10-25 18:27:31 Re: pgAdmin commandLine
Previous Message Ray O'Donnell 2021-10-25 12:57:56 Re: Reorder servers?