[GENERAL] postgres source code function "internal_ping" may be not right insome conditions

Поиск
Список
Период
Сортировка
От lin
Тема [GENERAL] postgres source code function "internal_ping" may be not right insome conditions
Дата
Msg-id 80e005e.e3dd.15aff8ed09c.Coremail.jluwln@163.com
обсуждение исходный текст
Ответы Re: postgres source code function "internal_ping" may be not right in some conditions  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
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 :

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

Thanks,
 wln



 

В списке pgsql-general по дате отправления:

Предыдущее
От: Glen Huang
Дата:
Сообщение: Re: [GENERAL] How to create unique index on multiple columns wherethe combination doesn't matter?
Следующее
От: "Greg Sabino Mullane"
Дата:
Сообщение: Re: Run statements before pg_dump in same transaction?