Hello! Here is a patch that implements setitimer() on win32. With this patch applied, deadlock detection and statement_timeout now works. The file timer.c goes into src/backend/port/win32/. The patch also removes two lines of "printf debugging" accidentally left in pqsignal.h, in the console control handler. //Magnus <<win32_setitimer.patch>> <<timer.c>>
Patch applied with newer version is timer.c. Thanks. --------------------------------------------------------------------------- Magnus Hagander wrote: > Hello! > > Here is a patch that implements setitimer() on win32. With this patch > applied, deadlock detection and statement_timeout now works. > > The file timer.c goes into src/backend/port/win32/. > > The patch also removes two lines of "printf debugging" accidentally left > in pqsignal.h, in the console control handler. > > > //Magnus > <<win32_setitimer.patch>> <<timer.c>> Content-Description: win32_setitimer.patch [ Attachment, skipping... ] Content-Description: timer.c [ Attachment, skipping... ] > > ---------------------------(end of broadcast)--------------------------- > TIP 8: explain analyze is your friend -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера