Re: Commands history with psql in a Windows command line shell - Mailing list pgsql-general

From Adrian Klaver
Subject Re: Commands history with psql in a Windows command line shell
Date
Msg-id 37e50480-6f7a-0f28-7939-17135ad6051c@aklaver.com
Whole thread Raw
In response to Re: Commands history with psql in a Windows command line shell  (Lmhelp1 <lmhelp1@orange.fr>)
List 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 by date:

Previous
From: Lmhelp1
Date:
Subject: Re: Commands history with psql in a Windows command line shell
Next
From: Lmhelp1
Date:
Subject: Re: Commands history with psql in a Windows command line shell