Paulo Scardine [mailto:paulos@cimed.ind.br] wrote: <snip> So I hacked a small pggetpid and pgkillpid C functions, and now I can learn the backend's PID, start the query in a new thread, and kill the backend using another connection if I want. Its ugly, I know, but worked wonderfully with ODBC, the Delphi developers here and the users are very happy. </snip> If you are using Delphi, and you are also using Postgres, you should consider using the Zeos (http://www.zeoslib.net) database component library for Delphi instead of ODBC. You will generally get better performance plus Zeos accesses pg directly though the libpq interface (so you can send request cancel, do asynch. queries, etc.). Also, if you ever end up making the move to linux application development (kylix), your life will be much easier. Regards, Merlin
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера