8000
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 8f36605 commit 6ec7b0b 8000 Copy full SHA for 6ec7b0b
src/backend/commands/tablecmds.c
@@ -8,7 +8,7 @@
8
*
9
10
* IDENTIFICATION
11
- * $PostgreSQL: pgsql/src/backend/commands/tablecmds.c,v 1.142.4.11 2009/12/09 21:58:54 tgl Exp $
+ * $PostgreSQL: pgsql/src/backend/commands/tablecmds.c,v 1.142.4.12 2010/07/01 14:10:42 rhaas Exp $
12
13
*-------------------------------------------------------------------------
14
*/
@@ -5756,6 +5756,9 @@ copy_relation_data(Relation rel, SMgrRelation dst)
5756
5757
for (blkno = 0; blkno < nblocks; blkno++)
5758
{
5759
+ /* If we got a cancel signal during the copy of the data, quit */
5760
+ CHECK_FOR_INTERRUPTS();
5761
+
5762
smgrread(src, blkno, buf);
5763
5764
/* XLOG stuff */
0 commit comments