10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c0080a commit b525073Copy full SHA for b525073
src/backend/commands/tablecmds.c
@@ -8,7 +8,7 @@
8
*
9
10
* IDENTIFICATION
11
- * $PostgreSQL: pgsql/src/backend/commands/tablecmds.c,v 1.174.2.9 2009/12/09 21:58:42 tgl Exp $
+ * $PostgreSQL: pgsql/src/backend/commands/tablecmds.c,v 1.174.2.10 2010/07/01 14:11:03 rhaas Exp $
12
13
*-------------------------------------------------------------------------
14
*/
@@ -5863,6 +5863,9 @@ copy_relation_data(Relation rel, SMgrRelation dst)
5863
5864
for (blkno = 0; blkno < nblocks; blkno++)
5865
{
5866
+ /* If we got a cancel signal during the copy of the data, quit */
5867
+ CHECK_FOR_INTERRUPTS();
5868
+
5869
smgrread(src, blkno, buf);
5870
5871
/* XLOG stuff */
0 commit comments