Hello, I'm writing a name server switch (nss) module for Irix/PostgreSQL, but i have some trouble to get it to work. When i use the blocking functions of PostgreSQL, then there isn't any response until the nss daemons times out. But right after that i get the results (which is too late in this situation). When i use the non blocking functions of PostgreSQL the program executes until it reaches PQsendQuery() and then returns an error indicating "There is no connection to the backend." When i use the result of PQsocket() in a select statemen, it results in a "error in select: Bad file number" error message (and PostgreSQL itself shows "PacketSendFragment: write() failed: Broken pipe"). Does anybody have any idea what makes PostgreSQL block? Regards, Erik Hofman
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера