PostgreSQL: how to interrupt a running query

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
jbakuwel
Posts: 35
Joined: Tue 02 Feb 2010 04:47

PostgreSQL: how to interrupt a running query

Post by jbakuwel » Thu 24 Feb 2011 03:40

Hi,

How do I interrupt a running query on PostgreSQL using UniDAC?

kind regards,
Jan

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Post by AlexP » Thu 24 Feb 2011 08:31

Hello,

To interrupt a running query you should start a query in a separate thread, and call the BreakExec method in the main thread.

Post Reply