Search Postgresql Archives

postgres source code function "internal_ping" may be not right in some conditions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
 all.  I have test the function "internal_ping", and find in some conditions, the return result is not right.

the code, you can see :
http://code.taobao.org/p/pgsql953/src/src/interfaces/libpq/fe-connect.c

if conn->status == CONNECTION_BAD  ,  and the  "conn->last_sqlstate" is "28000", the return value is PQPING_OK, it is not right.

Thanks,
 wln



 


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux