Thread: Re: insert performance for win32

Re: insert performance for win32

From
"Merlin Moncure"
Date:
>   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

From
Tom Lane
Date:
"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

From
Andrew Dunstan
Date:

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