Re: [bug fix] psql's \conninfo reports incorrect destination on Windows - Mailing list pgsql-hackers

From Fujii Masao
Subject Re: [bug fix] psql's \conninfo reports incorrect destination on Windows
Date
Msg-id CAHGQGwG7rvN+0dia-gWb9oTRQ=Qs=HYn3E=jCZEVnExopHOb=g@mail.gmail.com
Whole thread Raw
In response to [bug fix] psql's \conninfo reports incorrect destination on Windows  ("MauMau" <maumau307@gmail.com>)
Responses Re: [bug fix] psql's \conninfo reports incorrect destination on Windows  ("MauMau" <maumau307@gmail.com>)
List pgsql-hackers
On Wed, Dec 4, 2013 at 9:21 PM, MauMau <maumau307@gmail.com> wrote:
> Hello,
>
> I've found a bug that psql's \conninfo displays incorrect information on
> Windows.  Please find attached the patch and commit this.
>
> [Problem]
> When I run "psql postgres" on Windows and execute \conninfo, it outputs the
> text below.  It reports that psql connected to the server via UNIX domain
> socket, but the actual connection is of course via TCP/IP socket to
> localhost.
>
> You are connected to database "postgres" as user "Administrator" via socket
> in "/tmp" at port "5432".
>
> It should output:
>
> You are connected to database "postgres" as user "Administrator" on host
> "localhost" at port "5432".

I think that 77035fa8a92d8c39f4c689e54f46813f203f09a8 fixed this problem.
Please check that.

Regards,

-- 
Fujii Masao



pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: Case sensitive mode in windows build option
Next
From: Fujii Masao
Date:
Subject: Re: The problems of PQhost()