Re: insert performance for win32

From: "Merlin Moncure" <merlin(dot)moncure(at)rcsonline(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: insert performance for win32
Date: 2005-11-04 18:26:52
Message-ID: 6EE64EF3AB31D5448D0007DD34EEB3417DD7D6@Herge.rcsinc.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


> 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2005-11-04 18:30:32 Re: [HACKERS] insert performance for win32
Previous Message Tom Lane 2005-11-04 18:25:15 Re: Constraint exclusion description bug?