Обсуждение: Re: insert performance for win32

Поиск
Список
Период
Сортировка

Re: insert performance for win32

От
"Merlin Moncure"
Дата:
>   void
>   setup_cancel_handler(void)
>   {
> +    static bool done = false;
> +
> +    if (!done)
>           SetConsoleCtrlHandler(consoleHandler, TRUE);
> +    done = true;
>   }
>

That works, I tried ctrl-c various ways including from within \i copy.
Problem solved!

Merlin


Re: insert performance for win32

От
Tom Lane
Дата:
"Merlin Moncure" <merlin.moncure@rcsonline.com> writes:
> That works, I tried ctrl-c various ways including from within \i copy.
> Problem solved!

Good.  I've applied the patch in both HEAD and 8.0 branches.

Since we're very nearly ready to wrap 8.1, would someone with access to
a Windows machine please double-check that CVS tip still works?
        regards, tom lane


Re: insert performance for win32

От
Andrew Dunstan
Дата:

Tom Lane wrote:

>"Merlin Moncure" <merlin.moncure@rcsonline.com> writes:
>  
>
>>That works, I tried ctrl-c various ways including from within \i copy.
>>Problem solved!
>>    
>>
>
>Good.  I've applied the patch in both HEAD and 8.0 branches.
>
>Since we're very nearly ready to wrap 8.1, would someone with access to
>a Windows machine please double-check that CVS tip still works?
>
>    
>  
>

Worked for me. See buildfarm. Or are there more tests you want run?

cheers

andrew