From: | Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com> |
---|---|
To: | Lmhelp1 <lmhelp1(at)orange(dot)fr>, Melvin Davidson <melvin6925(at)gmail(dot)com> |
Cc: | "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Commands history with psql in a Windows command line shell |
Date: | 2016-08-02 16:27:21 |
Message-ID: | 37e50480-6f7a-0f28-7939-17135ad6051c@aklaver.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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?:
>
> Best regards,
> --
> Léa Massiot
>
>
--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com
From | Date | Subject | |
---|---|---|---|
Next Message | Adrian Klaver | 2016-08-02 16:39:23 | Re: Commands history with psql in a Windows command line shell |
Previous Message | Lmhelp1 | 2016-08-02 16:19:33 | Re: Commands history with psql in a Windows command line shell |