| От | Joe Conway |
|---|---|
| Тема | Re: libpq PQstatus problem |
| Дата | |
| Msg-id | 007701c0ac45$e267d3b0$0205a8c0@jecw2k1 обсуждение |
| Ответ на | libpq PQstatus problem (<philip.howell@cit.act.edu.au>) |
| Список | pgsql-interfaces |
> > Then I stopped the network (eth0) on the postgreSQL server and hit <return> > again and still got > > > Connection status... OK > > as the output. However Trying to execute the program with the postgreSQL server > offline resulted in the expected error messages, so it seems that in this case > the status was detected successfully. > I tried stopping the network on my machine, and was still able to connect when logged on locally via psql. I presume this is because the local unix sockets connection still works from the local machine. You might test this by editing your pg_hba.conf file to disallow local sockets. e.g.: local all reject Hope this helps, Joe
В списке pgsql-interfaces по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера