*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.88 1999/09/18 19:06:40 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.89 1999/09/27 20:00:44 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include "lib/stringinfo.h"
#include "libpq/libpq.h"
#include "miscadmin.h"
+#include "tcop/tcopprot.h"
#include "utils/acl.h"
#include "utils/builtins.h"
#include "utils/syscache.h"
while (HeapTupleIsValid(tuple = heap_getnext(scandesc, 0)))
{
+ if (QueryCancel)
+ CancelQuery();
if (oids && !binary)
{
while (!done)
{
+ if (QueryCancel)
+ CancelQuery();
+
if (!binary)
{
int newline = 0;