EPOLLPRI CONNECTION_STARTED && host=localhost

From: alpha_one_x86 <alpha_one_x86(at)first-world(dot)info>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: EPOLLPRI CONNECTION_STARTED && host=localhost
Date: 2014-06-18 10:56:59
Message-ID: 4573998.SxdYlXROuq@amber
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Hello,

In this code:
https://github.com/alphaonex86/CatchChallenger/blob/master/tools/epoll-server/epoll-psql/main.cpp#L56
The first line work, not the second
[CODE]PGconn *conn=PQconnectStart("dbname=catchchallenger user=root");
PGconn *conn=PQconnectStart("dbname=catchchallenger host=localhost user=root");[/CODE]
Epoll get an EPOLLPRI, postgresql keep with CONNECTION_STARTED.
The command psql -h 127.0.0.1 work well. No firewall, server well listen.

Cheers,

--
alpha_one_x86 <alpha_one_x86(at)first-world(dot)info>
Main developer of Ultracopier, Esourcing and server management
IT, OS, technologies, security and business department

Browse pgsql-interfaces by date

  From Date Subject
Next Message alpha_one_x86 2014-06-24 09:44:35 Valgrind => break?
Previous Message Ian Pye 2014-06-10 19:23:10 Re: Using threads in FDW for read-ahead