Re: Commands history with psql in a Windows command line shell

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: Commands history with psql in a Windows command line shell
Дата
Msg-id 37e50480-6f7a-0f28-7939-17135ad6051c@aklaver.com
обсуждение исходный текст
Ответ на Re: Commands history with psql in a Windows command line shell  (Lmhelp1 <lmhelp1@orange.fr>)
Список pgsql-general
On 08/02/2016 09:19 AM, Lmhelp1 wrote:
> Thank you for your answer.
>
> 1.
> Like I wrote in my first post, the command I use to launch "psql" is:
> cmd.exe> psql -p <tcp_port> -U <username> <database_name>
> So, I do not specify the "--no-readline" option.
>
> 2.
> cmd.exe psql <database_name># \s
> history is not supported by this installation
>
> Powershell psql <database_name># \s
> history is not supported by this installation
>
> To install PostgreSQL, I used the "postgresql-9.5.2-1-windows-x64.exe"
> installer the 2016/04/21.
> So I don't remember much about what I did that day.
>
> 3.
> When I do:
> psql <database_name># \set
> HISTFILE does not appear in the result.
> So, I guess it is not set.

What happens if you use the SQL Shell from the program menu on the Start
Menu?:


http://www.enterprisedb.com/resources-community/tutorials-quickstarts/windows/getting-started-postgres-plus-tutorial-windows

>
> Best regards,
> --
> Léa Massiot
>
>

--
Adrian Klaver
adrian.klaver@aklaver.com


В списке pgsql-general по дате отправления:

Предыдущее
От: Lmhelp1
Дата:
Сообщение: Re: Commands history with psql in a Windows command line shell
Следующее
От: Lmhelp1
Дата:
Сообщение: Re: Commands history with psql in a Windows command line shell